mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 06:58:01 +00:00
[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
Block a user