Added directories to ignore for rust-analyzer

This commit is contained in:
Fred Drake
2025-01-18 19:41:28 -05:00
parent 89bac9327e
commit ea5dcde53d
+6 -6
View File
@@ -1,8 +1,8 @@
{ pkgs, ... }: { {pkgs, ...}: {
plugins = { plugins = {
conform-nvim = { conform-nvim = {
enable = true; enable = true;
settings = { formatters_by_ft.rust = [ "rustfmt" ]; }; settings = {formatters_by_ft.rust = ["rustfmt"];};
}; };
rustaceanvim = { rustaceanvim = {
enable = true; enable = true;
@@ -14,15 +14,15 @@
tools.enable_clippy = true; tools.enable_clippy = true;
server = { server = {
default_settings = { default_settings = {
inlayHints = { lifetimeElisionHints = { enable = "always"; }; }; inlayHints = {lifetimeElisionHints = {enable = "always";};};
rust-analyzer = { rust-analyzer = {
cargo = { allFeatures = true; }; cargo = {allFeatures = true;};
check = { command = "clippy"; }; check = {command = "clippy";};
files = {excludeDirs = ["target" ".git" ".cargo" ".github" ".direnv"];};
}; };
}; };
}; };
}; };
}; };
}; };
} }