aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorGabriel A. Giovanini <g.giovanini@gridx.de>2024-09-17 13:21:31 +0200
committerGabriel A. Giovanini <g.giovanini@gridx.de>2024-09-17 13:21:31 +0200
commit2d94bbee48f6a887e68737ed8d27e3b193618878 (patch)
tree318feaa19e657fa91f571d85cfede28615e08a07 /lua
parentc6df47c2a00b01b24233a57495a6584fe4f4ae3f (diff)
downloadgabrielgio.lua-2d94bbee48f6a887e68737ed8d27e3b193618878.tar.gz
gabrielgio.lua-2d94bbee48f6a887e68737ed8d27e3b193618878.tar.bz2
gabrielgio.lua-2d94bbee48f6a887e68737ed8d27e3b193618878.zip
feat: Sync
Diffstat (limited to 'lua')
-rw-r--r--lua/gabrielgio/formatter.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/gabrielgio/formatter.lua b/lua/gabrielgio/formatter.lua
index a287d8c..d06a400 100644
--- a/lua/gabrielgio/formatter.lua
+++ b/lua/gabrielgio/formatter.lua
@@ -1,4 +1,5 @@
local formatter = require("formatter")
+local go = require("formatter.filetypes.go")
formatter.setup({
filetype = {
@@ -6,6 +7,7 @@ formatter.setup({
lua = { require("formatter.filetypes.lua").stylua },
fish = { require("formatter.filetypes.fish").fishindent },
javascript = { require("formatter.filetypes.javascript").prettier },
+ go = { go.gofumpt, go.goimports },
},
["*"] = {
require("formatter.filetypes.any").remove_trailing_whitespace,