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"]; }