diff options
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/crystal.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/crystal.lua b/lua/conform/formatters/crystal.lua new file mode 100644 index 0000000..1f9e12b --- /dev/null +++ b/lua/conform/formatters/crystal.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://crystal-lang.org/", + description = "Format Crystal code.", + }, + command = "crystal", + args = { "tool", "format", "-" }, + stdin = true, +} |