summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-06-17 23:45:35 -0400
committerSam Nystrom <sam@samnystrom.dev>2023-06-17 23:45:35 -0400
commitb0f178c8577d6798c27ae454d8155a5ead1c5fa1 (patch)
tree8dbb29c3f5551ee1f6d1d6da08dc59a6255a57f7
parent01513f36c889778cb50b1a47b3b4dd0a414d8b1b (diff)
helix: use clippy for rust checkonsave
-rw-r--r--.config/helix/languages.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml
index 242e71a..83d3028 100644
--- a/.config/helix/languages.toml
+++ b/.config/helix/languages.toml
@@ -4,4 +4,8 @@ indent = { tab-width = 2, unit = " " }
[[language]]
name = "c"
-indent = { tab-width = 2, unit = " " }
+indent = { tab-width = 8, unit = " " }
+
+[[language]]
+name = "rust"
+config = { checkOnSave = { command = "clippy" } }