Files
neovim-config/after/lsp/rust_analyzer.lua
2026-06-28 15:20:20 +09:00

20 lines
649 B
Lua

return {
settings = {
["rust-analyzer"] = {
files = {
-- .direnv dirs symlink into full nixpkgs source trees in the nix
-- store; without excluding them rust-analyzer follows the symlinks,
-- tries to watch/index ~100k dirs, hits the inotify watch limit and
-- never finishes loading.
excludeDirs = {
".direnv",
"libkiwoom/.direnv",
"crates/libkiwoom-sys/.direnv",
"target",
"node_modules",
},
},
},
},
}