diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-24 13:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 07:05:34 -0400 |
commit | 89af7f00b6e52647c7b0e04eb8cc9bc9cab91e3e (patch) | |
tree | d35f6ef500abf5d536ed8e73b3a36f7216648967 /lua/conform/formatters/bsfmt.lua | |
parent | 9a06e83527407a7600a2fe4e0d10adf432b6215e (diff) |
feat: support brighterscript-formatter (#468)
Diffstat (limited to 'lua/conform/formatters/bsfmt.lua')
-rw-r--r-- | lua/conform/formatters/bsfmt.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/bsfmt.lua b/lua/conform/formatters/bsfmt.lua new file mode 100644 index 0000000..6f3b319 --- /dev/null +++ b/lua/conform/formatters/bsfmt.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/rokucommunity/brighterscript-formatter", + description = "A code formatter for BrighterScript (and BrightScript).", + }, + command = "bsfmt", + args = { "$FILENAME", "--write" }, + stdin = false, +} |