From df7c4aec1184b15a2265fa7a21398e2a4219deb6 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 16 Mar 2024 19:46:07 +0100 Subject: helix: Use clippy for checking and nightly rustfmt for formatting Rust Signed-off-by: David Runge --- .config/helix/languages.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 270e3a4..31a9d81 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -2,6 +2,13 @@ name = "rust" auto-format = true +[language-server.rust-analyzer.config.check] +command = "clippy" +features = "all" + +[language-server.rust-analyzer.config.rustfmt] +extraArgs = [ "+nightly" ] + [[language]] name = "email" scope = "source.text" -- cgit v1.2.3-70-g09d2