From 1e030235bb8b507c8e2291a232d55dc02fd470d5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 14 Oct 2024 15:42:00 +0200 Subject: feat(conf/nvim/plgs/lsp/rust-analyzer): Also include `clippy` lints --- modules/home/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/home/conf/nvim/plgs/lsp') 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> -- cgit 1.4.1