aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/htmlbeautifier.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/htmlbeautifier.lua')
-rw-r--r--lua/conform/formatters/htmlbeautifier.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/conform/formatters/htmlbeautifier.lua b/lua/conform/formatters/htmlbeautifier.lua
new file mode 100644
index 0000000..3182f99
--- /dev/null
+++ b/lua/conform/formatters/htmlbeautifier.lua
@@ -0,0 +1,8 @@
+---@type conform.FormatterConfig
+return {
+ meta = {
+ url = "https://github.com/threedaymonk/htmlbeautifier",
+ description = "A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.",
+ },
+ command = "htmlbeautifier",
+}