diff options
author | Jinjun Liang <kumkee@users.noreply.github.com> | 2024-02-20 16:48:01 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 19:48:01 -0800 |
commit | 0d997149a0472ab811bcfdca5dc45d9db483f949 (patch) | |
tree | eaaeb944f2d72740cbd419091fc1c2e57fb47d09 /lua | |
parent | 61cff430c9f15770d0c5e68c1b08067223bd94ab (diff) |
feat: add fantomas formatter (#302)
* feat: add fantomas formatter
* fantomas: + args
* fantomas: + stdin = false
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/formatters/fantomas.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/fantomas.lua b/lua/conform/formatters/fantomas.lua new file mode 100644 index 0000000..9244feb --- /dev/null +++ b/lua/conform/formatters/fantomas.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/fsprojects/fantomas", + description = "F# source code formatter.", + }, + command = "fantomas", + args = { "$FILENAME" }, + stdin = false, +} |