diff options
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/imba_fmt.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/conform/formatters/imba_fmt.lua b/lua/conform/formatters/imba_fmt.lua new file mode 100644 index 0000000..680bb91 --- /dev/null +++ b/lua/conform/formatters/imba_fmt.lua @@ -0,0 +1,11 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://imba.io/", + description = "Code formatter for the Imba programming language.", + }, + command = "imba", + stdin = false, + -- `-f` is used to ignore the git status of the file. + args = { "fmt", "-f", "$FILENAME" }, +} |