From d6c79c7295acd16e4687aae70e86b788d3a31278 Mon Sep 17 00:00:00 2001 From: itsscb Date: Thu, 20 Jun 2024 22:42:43 +0200 Subject: [PATCH] ft/adds extra args to clippy --- dotfiles/helix/languages.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/helix/languages.toml b/dotfiles/helix/languages.toml index e561533..e0cc028 100644 --- a/dotfiles/helix/languages.toml +++ b/dotfiles/helix/languages.toml @@ -28,7 +28,9 @@ inlayHints.typeHints.hideClosureInitialization = false diagnostics.enableInlineHints = true check.command = "clippy" +check.args = ["--", "-W", "clippy::pedantic", "-W", "clippy::nursery", "-W", "clippy::unwrap_used", "-W", "clippy::expect_used"] checkOnSave.command = "clippy" +checkOnSave.args = ["--", "-W", "clippy::pedantic", "-W", "clippy::nursery", "-W", "clippy::unwrap_used", "-W", "clippy::expect_used"] [keys.normal] C-t = ":run-shell-command cargo test -- --nocapture"