about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/home/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix b/modules/home/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix
index cfd9dba8..5da61a71 100644
--- a/modules/home/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix
+++ b/modules/home/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix
@@ -4,6 +4,9 @@
       enable = true;
       settings = {
         typing.autoClosingAngleBrackets.enable = true;
+
+        # Check with `cargo clippy` instead of just `cargo check`
+        check.command = "clippy";
       };
       # NOTE: These should be provided by the devenv, to support nightly and
       # such things <2023-11-25>