diff --git a/modules/hm/helix.nix b/modules/hm/helix.nix index 1912f52..6369556 100644 --- a/modules/hm/helix.nix +++ b/modules/hm/helix.nix @@ -15,10 +15,17 @@ }; programs.helix = { enable = true; - languages.language = [{ - name = "nix"; - auto-format = true; - }]; + languages.language = [ + { + name = "nix"; + auto-format = true; + } + { + name = "typst"; + auto-format = true; + formatter.command = "typstyle"; + } + ]; languages.language-server = { nil.config.nil = { formatting.command = [ "nixpkgs-fmt" ];