feat: Exclude .direnv in rust-analyzer

This commit is contained in:
uttarayan21
2024-08-01 18:43:46 +05:30
parent f75a7a2887
commit bd857965dc
2 changed files with 8 additions and 1 deletions

2
flake.lock generated
View File

@@ -1722,7 +1722,7 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-adYgrV9u1JTqP7ccDKNG6ClUkD4lr3VFiPaOGS3zvgw=", "narHash": "sha256-2pBZ4zgpXMBomJLn5fMnWQdlDeFEUz7YkSk3i0ksDkg=",
"path": "./neovim", "path": "./neovim",
"type": "path" "type": "path"
}, },

View File

@@ -208,6 +208,13 @@ in rec {
# return { '${pkgs.ra-multiplex}/bin/ra-multiplex', 'client' } # return { '${pkgs.ra-multiplex}/bin/ra-multiplex', 'client' }
# end # end
# ''; # '';
default_settings = ''{
['rust-analyzer'] = {
files = {
excludeDirs = {".git", ".direnv"},
},
},
}'';
}; };
dap = { dap = {
autoload_configurations = false; autoload_configurations = false;