From 1951f086ec31bc41e38c64af5bdacf61c056341d Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 04:00:59 +0100 Subject: [PATCH] vimrc(lsp_go): allow shadow analysis --- .vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vim/vimrc b/.vim/vimrc index 13bd9cf..8176335 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -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