enabled clippy for nvim rust-analyzer.

This commit is contained in:
Gabe Venberg 2024-04-29 17:31:05 -05:00
parent c99dd36c94
commit d41b89b97a
2 changed files with 4 additions and 5 deletions

View file

@ -24,11 +24,6 @@
nushell.enable = true; nushell.enable = true;
pyright.enable = true; pyright.enable = true;
ruff-lsp.enable = true; ruff-lsp.enable = true;
rust-analyzer = {
enable = true;
installCargo = true;
installRustc = true;
};
texlab.enable = true; texlab.enable = true;
typst-lsp.enable = true; typst-lsp.enable = true;
taplo.enable = true; taplo.enable = true;

View file

@ -10,6 +10,10 @@
programs.nixvim = { programs.nixvim = {
plugins.rust-tools = { plugins.rust-tools = {
enable = true; enable = true;
server = {
checkOnSave = true;
check.command = "clippy";
};
}; };
}; };
}; };