about summary refs log tree commit diff stats
path: root/modules/home/conf/nvim/plgs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-14 15:42:00 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-14 15:42:00 +0200
commit1e030235bb8b507c8e2291a232d55dc02fd470d5 (patch)
tree7d43541595a1853e8b5b4697122fb630216e2786 /modules/home/conf/nvim/plgs
parentfix(services/backup): Fail the backup script, if a command fails (diff)
downloadnixos-config-1e030235bb8b507c8e2291a232d55dc02fd470d5.tar.gz
nixos-config-1e030235bb8b507c8e2291a232d55dc02fd470d5.zip
feat(conf/nvim/plgs/lsp/rust-analyzer): Also include `clippy` lints
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>