diff --git a/modules/home/utils/helix-languages.nix b/modules/home/utils/helix-languages.nix index 5c75437..e1e9ac0 100644 --- a/modules/home/utils/helix-languages.nix +++ b/modules/home/utils/helix-languages.nix @@ -12,20 +12,21 @@ language-servers = [ "asm-lsp" ]; indent = { tab-width = 8; unit = " "; }; roots = []; - file-types = ["S"]; + file-types = [ "S" ]; } { name = "json"; auto-format = true; - formatter = { command = "prettier"; args = ["--parser" "json"]; }; + formatter = { command = "prettier"; args = [ "--parser" "json" ]; }; } { name = "jsonc"; auto-format = true; formatter.command = "prettier"; - formatter.args = ["--parser" "jsonc"]; + formatter.args = [ "--parser" "jsonc" ]; } { name = "c"; auto-format = true; - formatter = { command = "clang-format"; args = ["-style=file"]; }; + formatter = { command = "clang-format"; args = [ "-style=file" ]; }; indent = { tab-width = 8; unit = " "; }; + file-types = [ "c" "h" ]; }]; }