From af62453ef7914597a055f7d895a1bc4a821ad2ee Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sun, 31 Aug 2025 15:05:02 +1000 Subject: [PATCH] helix handles C source better --- homes/modules/editor/helix.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homes/modules/editor/helix.nix b/homes/modules/editor/helix.nix index 555ec75..e7d6003 100755 --- a/homes/modules/editor/helix.nix +++ b/homes/modules/editor/helix.nix @@ -131,6 +131,8 @@ } { name = "c"; + file-types = ["c" "h"]; # use .hpp for C++ + auto-format = false; formatter.command = "${pkgs.clang-tools}/bin/clang-format"; language-servers = ["clangd"]; }