diff --git a/.helix/languages.toml b/.helix/languages.toml index e5e9271..e9b85ff 100644 --- a/.helix/languages.toml +++ b/.helix/languages.toml @@ -1,3 +1,8 @@ [[language]] name = "nix" formatter = { command = "nixfmt" } + +[[language]] +name = "typst" +formatter = { command = "typstyle" } +auto-format = true diff --git a/flake.nix b/flake.nix index e3e3928..b32f6b2 100644 --- a/flake.nix +++ b/flake.nix @@ -84,7 +84,7 @@ inherit (commonArgs) fontPaths virtualPaths; packages = [ watch-script - pkgs.typstfmt + pkgs.typstyle pkgs.tinymist pkgs.nixfmt-rfc-style