diff --git a/modules/helix.nix b/modules/helix.nix index e2cae21..d381cf4 100644 --- a/modules/helix.nix +++ b/modules/helix.nix @@ -44,7 +44,7 @@ auto-format = true; formatter = prettier name; - }) [ "css" "html" "scss" "yaml" ]; + }) [ "css" "scss" "yaml" ]; in denoFormatterLanguages ++ prettierLanguages ++ [ { name = "nix"; @@ -65,6 +65,13 @@ grammar = "python"; } + { + name = "html"; + # Added vto. + file-types = [ "asp" "aspx" "htm" "html" "jshtm" "jsp" "rhtml" "shtml" "volt" "vto" "xht" "xhtml" ]; + auto-format = true; + formatter = prettier "html"; + } { name = "javascript"; auto-format = true;