Open
Description
Setup
I've been using coc.nvim
with the following gopls
(Golang Language Server) configuration for years:
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod"],
"filetypes": ["go"]
}
}
The configuration was copied from the official doc of coc.nvim
with no modification.
Problem
Related:
Recent update to gopls
broke the minimal setup above.
Specifically, when I try to use "organize imports" functionality via <plug>(coc-codeaction-cursor)
, "open gopls documentation in browser" is now shown above "organize imports".
According to the issues above, however, it is not a bug and there is no solution though a member of the project says that isPreferred
response parameter of LSP support may be added in the future.
Question
Is it possible to customize (or filter) the responses from LSP?
Debug Output of coc.nvim
I posted the debug output of coc.nvim
in
(Please see Logs
section.)
Metadata
Metadata
Assignees
Labels
No labels
Activity