aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/gleam.lua
diff options
context:
space:
mode:
authorLouis Michalak <73487541+netner-d@users.noreply.github.com>2024-03-11 16:52:09 +0100
committerGitHub <noreply@github.com>2024-03-11 08:52:09 -0700
commit2ebfcaa4f2e85550d985eae8ed417401319ebccd (patch)
tree59ba80bb7432eb8e8d8cd3bb67b2198f6119caf9 /lua/conform/formatters/gleam.lua
parent5a15cc46e75cad804fd51ec5af9227aeb1d1bdaa (diff)
feat: add gleam formatter (#327)
Diffstat (limited to 'lua/conform/formatters/gleam.lua')
-rw-r--r--lua/conform/formatters/gleam.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/gleam.lua b/lua/conform/formatters/gleam.lua
new file mode 100644
index 0000000..a03afac
--- /dev/null
+++ b/lua/conform/formatters/gleam.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/gleam-lang/gleam",
+ description = "⭐️ A friendly language for building type-safe, scalable systems!",
+ },
+ command = "gleam",
+ args = { "format", "--stdin" },
+}