We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec6d56b + 10befaf commit ed10182Copy full SHA for ed10182
README.md
@@ -95,7 +95,7 @@ lspconfig.golangci_lint_ls.setup {
95
(lsp-register-client
96
(make-lsp-client :new-connection (lsp-stdio-connection
97
'("golangci-lint-langserver"))
98
- :major-modes '(go-mode)
+ :activation-fn (lsp-activate-on "go")
99
:language-id "go"
100
:priority 0
101
:server-id 'golangci-lint
@@ -104,6 +104,4 @@ lspconfig.golangci_lint_ls.setup {
104
:initialization-options (lambda ()
105
(gethash "golangci-lint"
106
(lsp-configuration-section "golangci-lint")))))
107
-
108
- (add-to-list 'lsp-language-id-configuration '(go-mode . "golangci-lint")))
109
```
0 commit comments