diff options
author | Alexandros Alexiou <alex.alexiouu@gmail.com> | 2024-05-06 21:09:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 11:09:13 -0700 |
commit | b72f650206ddfeadd6c7df0f775a928e82ece353 (patch) | |
tree | 473ad3f477e6932a379a9f91faeae8ff5709e34f /lua | |
parent | 3cd1135cb2978c9d45b8dc6afc80045fb8a93157 (diff) |
feat: add ktfmt formatter for Kotlin (#392)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/formatters/ktfmt.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/ktfmt.lua b/lua/conform/formatters/ktfmt.lua new file mode 100644 index 0000000..7be580b --- /dev/null +++ b/lua/conform/formatters/ktfmt.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/facebook/ktfmt", + description = "Reformats Kotlin source code to comply with the common community standard conventions.", + }, + command = "ktfmt", + args = { "-" }, +} |