diff --git a/.config/nvim/lua/plugins/go.lua b/.config/nvim/lua/plugins/go.lua index eba853d..6fc9958 100644 --- a/.config/nvim/lua/plugins/go.lua +++ b/.config/nvim/lua/plugins/go.lua @@ -6,6 +6,8 @@ end go.setup({ icons = { breakpoint = "", currentpos = "🏃" }, fillstruct = "fillstruct", + gofmt = "gofumpt", + lsp_gofumpt = true, }) vim.cmd("autocmd FileType go nmap gf :lua require('go.format').goimport()")