forked from Shinonome/fred-neovim
Added directories to ignore for rust-analyzer
This commit is contained in:
@@ -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"];};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user