diff --git a/lua/conform/formatters/imba_fmt.lua b/lua/conform/formatters/imba_fmt.lua new file mode 100644 index 00000000..680bb918 --- /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" }, +}