From 5573da0095e0a075221516a2f478311b3783b09c Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 21 Jan 2024 12:17:18 +0300 Subject: [PATCH] Make .vto HTML --- modules/helix.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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;