upgrade vimgo config
This commit is contained in:
parent
41cbfa32b0
commit
ed5891f567
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ let g:airline#extensions#tabline#enabled = 1
|
|||
|
||||
" Vim-go options
|
||||
"let g:go_fmt_command = "goimports"
|
||||
let g:go_fmt_command = "gofumports"
|
||||
let g:go_fmt_command = "gopls"
|
||||
let g:go_gopls_gofumpt=1
|
||||
let g:go_fmt_autosave = 1
|
||||
let g:go_metalinter_enabled = ['govet', 'golint', 'errcheck', 'staticcheck', 'gosimple', 'structcheck', 'varcheck', 'ineffassign', 'deadcode', 'gosec', 'unconvert', 'dupl', 'goconst', 'gocyclo', 'misspell', 'unparam', 'lll', 'interfacer', 'nakedret', 'scopelint']
|
||||
let g:go_metalinter_autosave = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue