aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
diff options
context:
space:
mode:
authorMads Hougesen <mads@mhouge.dk>2024-06-24 13:10:12 +0200
committerGitHub <noreply@github.com>2024-06-24 07:10:12 -0400
commitd1f9bd4823628d26a10b98acc9b3b6dbc7b1c053 (patch)
tree81e6664aea603d5b7bdf51aa88f21786f5d86348 /lua/conform/formatters
parent4f9248dc19d448cae6224835da427f628139ff87 (diff)
feat: support gluon fmt (#473)
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r--lua/conform/formatters/gluon_fmt.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/gluon_fmt.lua b/lua/conform/formatters/gluon_fmt.lua
new file mode 100644
index 0000000..964c497
--- /dev/null
+++ b/lua/conform/formatters/gluon_fmt.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/gluon-lang/gluon",
+ description = "Code formatting for the gluon programming language.",
+ },
+ command = "gluon",
+ args = { "fmt", "$FILENAME" },
+ stdin = false,
+}