aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/gofmt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/gofmt.lua')
-rw-r--r--lua/conform/formatters/gofmt.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/conform/formatters/gofmt.lua b/lua/conform/formatters/gofmt.lua
new file mode 100644
index 0000000..b0b81c3
--- /dev/null
+++ b/lua/conform/formatters/gofmt.lua
@@ -0,0 +1,8 @@
+---@type conform.FormatterConfig
+return {
+ meta = {
+ url = "https://pkg.go.dev/cmd/gofmt",
+ description = "Formats go programs.",
+ },
+ command = "gofmt",
+}