diff options
| author | Kyren223 <contact@kyren.codes> | 2025-08-27 13:42:01 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2025-08-27 13:42:01 +0300 |
| commit | 25a0d5a48ee2fdc8a6100baf26bf741becd63884 (patch) | |
| tree | 7d4f3af07462caaa6d22932a60e5e42957084d48 | |
| parent | fdb091330d0cb0f92978d7fb0073eb102725e40d (diff) | |
Fixed usage of removed workspace diagnostics plugin
| -rw-r--r-- | .config/nvim/lsp/gopls.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/lsp/gopls.lua b/.config/nvim/lsp/gopls.lua index eb2eaf0..a6a8b96 100644 --- a/.config/nvim/lsp/gopls.lua +++ b/.config/nvim/lsp/gopls.lua @@ -72,7 +72,7 @@ return { semanticTokens = true, }, }, - on_attach = function(client, bufnr) + on_attach = function(client) -- workaround for gopls not supporting semanticTokensProvider -- https://github.com/golang/go/issues/54531#issuecomment-1464982242 if not client.server_capabilities.semanticTokensProvider then @@ -87,7 +87,5 @@ return { } end -- end workaround - - require('workspace-diagnostics').populate_workspace_diagnostics(client, bufnr) end, } |
