mirror of
https://github.com/luzifer/vim.git
synced 2024-09-19 11:02:55 +00:00
Configure gofumpt-support for gopls
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
467a2b8cc2
commit
a8f984420c
2
init.vim
2
init.vim
@ -964,6 +964,8 @@ autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
|
|||||||
|
|
||||||
let g:go_autodetect_gopath = 0
|
let g:go_autodetect_gopath = 0
|
||||||
let g:go_def_mode = "gopls"
|
let g:go_def_mode = "gopls"
|
||||||
|
let g:go_fmt_command="gopls"
|
||||||
|
let g:go_gopls_gofumpt=1
|
||||||
let g:go_metalinter_deadline = "20s"
|
let g:go_metalinter_deadline = "20s"
|
||||||
|
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user