From 28ecd5cf9132213417bff41d79477354cb81f50c Mon Sep 17 00:00:00 2001 From: Rene Zbinden Date: Tue, 26 Sep 2023 08:17:50 +0200 Subject: feat: add templ support (#73) chore: bla chore: update --- lua/conform/formatters/templ.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lua/conform/formatters/templ.lua (limited to 'lua/conform') 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" }, +} -- cgit v1.2.3-70-g09d2