feat(lang): enable a few gopls analyzers which are disabled by default

This commit is contained in:
2021-10-06 04:37:19 +01:00
parent 11bb56b4ac
commit 5849a7b522

View File

@@ -72,6 +72,10 @@
:custom
(lsp-go-use-placeholders t)
(lsp-go-link-target "pkg.go.dev")
(lsp-go-analyses '((nilness . t)
(shadow . t)
(unusedparams . t)
(unusedwrite . t)))
:config
(lsp-register-custom-settings