From 0d7740d798d87c715783b447ab2e8fa50ffd8542 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 18 Jul 2025 12:07:15 +0100 Subject: [PATCH] feat(helix): use clippy to check --- roles/home/helix/languages.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/roles/home/helix/languages.toml b/roles/home/helix/languages.toml index 47ad4b3..965095e 100644 --- a/roles/home/helix/languages.toml +++ b/roles/home/helix/languages.toml @@ -33,4 +33,14 @@ command = [ [[language]] name = "markdown" -formatter = { command = "mdformat", args = ["-"]} \ No newline at end of file +formatter = { command = "mdformat", args = ["-"]} + +[[language]] +name = "rust" +language-servers = ["rust-analyzer"] + +[language-server.rust-analyzer] +command = "rust-analyzer" + +[language-server.rust-analyzer.config.check] +command = "clippy" \ No newline at end of file