From b0f178c8577d6798c27ae454d8155a5ead1c5fa1 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Sat, 17 Jun 2023 23:45:35 -0400 Subject: helix: use clippy for rust checkonsave --- .config/helix/languages.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.config') 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" } } -- cgit v1.2.3