[neovim] Use gofumpt for formatting in go plugin
This commit is contained in:
parent
4356b20801
commit
3d21628328
|
@ -6,6 +6,8 @@ end
|
|||
go.setup({
|
||||
icons = { breakpoint = "", currentpos = "🏃" },
|
||||
fillstruct = "fillstruct",
|
||||
gofmt = "gofumpt",
|
||||
lsp_gofumpt = true,
|
||||
})
|
||||
|
||||
vim.cmd("autocmd FileType go nmap <Leader>gf :lua require('go.format').goimport()<CR>")
|
||||
|
|
Loading…
Reference in New Issue