diff --git a/flake.lock b/flake.lock index 98114fe1..3de0c302 100644 --- a/flake.lock +++ b/flake.lock @@ -1722,7 +1722,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-adYgrV9u1JTqP7ccDKNG6ClUkD4lr3VFiPaOGS3zvgw=", + "narHash": "sha256-2pBZ4zgpXMBomJLn5fMnWQdlDeFEUz7YkSk3i0ksDkg=", "path": "./neovim", "type": "path" }, diff --git a/neovim/nvim.nix b/neovim/nvim.nix index 776a41ec..4ee73ada 100644 --- a/neovim/nvim.nix +++ b/neovim/nvim.nix @@ -208,6 +208,13 @@ in rec { # return { '${pkgs.ra-multiplex}/bin/ra-multiplex', 'client' } # end # ''; + default_settings = ''{ + ['rust-analyzer'] = { + files = { + excludeDirs = {".git", ".direnv"}, + }, + }, + }''; }; dap = { autoload_configurations = false;