1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-11-14 02:02:45 +00:00

Configure go imports through gopls

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-02-03 22:14:10 +01:00
parent a8f984420c
commit fa733ebdf2
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -966,6 +966,8 @@ 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_fmt_command = "gopls"
let g:go_gopls_gofumpt = 1 let g:go_gopls_gofumpt = 1
let g:go_imports_autosave = 1
let g:go_imports_mode = "gopls"
let g:go_metalinter_deadline = "20s" let g:go_metalinter_deadline = "20s"
" "