aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2024-03-16 19:46:07 +0100
committerDavid Runge <dave@sleepmap.de>2024-03-16 19:46:07 +0100
commitdf7c4aec1184b15a2265fa7a21398e2a4219deb6 (patch)
treebcfa496ab6609a433a51f553e0505164f1b6924e
parent357bba407f0e92f6d0647a884a8e96686b528062 (diff)
downloaddotfiles-master.tar.gz
dotfiles-master.tar.bz2
dotfiles-master.tar.xz
dotfiles-master.zip
helix: Use clippy for checking and nightly rustfmt for formatting RustHEADmaster
Signed-off-by: David Runge <dave@sleepmap.de>
-rw-r--r--.config/helix/languages.toml7
1 files changed, 7 insertions, 0 deletions
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"