vimrc(lsp_go): allow shadow analysis
This commit is contained in:
parent
de49851c04
commit
1951f086ec
@ -957,6 +957,7 @@ if executable('gopls')
|
||||
\ 'cmd': ['gopls', '-remote=unix;/tmp/.gopls-daemon.sock'],
|
||||
\ 'allowlist': ['go', 'gomod', 'gosum','gotexttmpl','gohtmltmpl'],
|
||||
\ 'gofumpt': 'true',
|
||||
\ 'analyses': {'shadow': 'true'},
|
||||
\ })
|
||||
augroup END
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user