mirror of
https://github.com/luzifer/vim.git
synced 2024-11-09 16:10:00 +00:00
Add explicit autosave for gofmt
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
fa733ebdf2
commit
3e942f6f62
1 changed files with 1 additions and 0 deletions
1
init.vim
1
init.vim
|
@ -964,6 +964,7 @@ autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
|
|||
|
||||
let g:go_autodetect_gopath = 0
|
||||
let g:go_def_mode = "gopls"
|
||||
let g:go_fmt_autosave = 1
|
||||
let g:go_fmt_command = "gopls"
|
||||
let g:go_gopls_gofumpt = 1
|
||||
let g:go_imports_autosave = 1
|
||||
|
|
Loading…
Reference in a new issue