diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 15:42:00 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 15:42:00 +0200 |
commit | 1e030235bb8b507c8e2291a232d55dc02fd470d5 (patch) | |
tree | 7d43541595a1853e8b5b4697122fb630216e2786 /modules/home/conf/nvim/plgs | |
parent | fix(services/backup): Fail the backup script, if a command fails (diff) | |
download | nixos-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.nix | 3 |
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> |