vimrc(lsp_go): allow shadow analysis

This commit is contained in:
surtur 2022-10-30 04:00:59 +01:00
parent de49851c04
commit 1951f086ec
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -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