aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/templ.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/templ.lua')
-rw-r--r--lua/conform/formatters/templ.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/templ.lua b/lua/conform/formatters/templ.lua
new file mode 100644
index 0000000..74c6f7a
--- /dev/null
+++ b/lua/conform/formatters/templ.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://templ.guide/commands-and-tools/cli/#formatting-templ-files",
+ description = "Formats templ template files.",
+ },
+ command = "templ",
+ args = { "fmt" },
+}