aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/gofumpt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/gofumpt.lua')
-rw-r--r--lua/conform/formatters/gofumpt.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/conform/formatters/gofumpt.lua b/lua/conform/formatters/gofumpt.lua
new file mode 100644
index 0000000..79fb4dc
--- /dev/null
+++ b/lua/conform/formatters/gofumpt.lua
@@ -0,0 +1,8 @@
+---@type conform.FormatterConfig
+return {
+ meta = {
+ url = "https://github.com/mvdan/gofumpt",
+ description = "Enforce a stricter format than gofmt, while being backwards compatible. That is, gofumpt is happy with a subset of the formats that gofmt is happy with.",
+ },
+ command = "gofumpt",
+}