diff options
author | George Nelson <79223278+clispios@users.noreply.github.com> | 2024-05-22 00:47:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 22:47:31 -0700 |
commit | b999fad66fd797a57d745c1a999d000b889bd587 (patch) | |
tree | 1396483077fafa6da4bae17eb9b6da5ea44e4686 /lua | |
parent | f3d0743fd40d989e69c2c1a57c86e4c241f67308 (diff) |
feat: add support for leptosfmt (#415)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/formatters/leptosfmt.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/leptosfmt.lua b/lua/conform/formatters/leptosfmt.lua new file mode 100644 index 0000000..4fd2d98 --- /dev/null +++ b/lua/conform/formatters/leptosfmt.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/bram209/leptosfmt", + description = "A formatter for the Leptos view! macro.", + }, + command = "leptosfmt", + args = { "--stdin" }, +} |