Hello,
I can not make the Golang LSP (gopls) work. I am on Linux (Arch Linux).
Here is my lsp_go.json:
{
"lexers": {
"Go": "go",
"RenamedGoLexer": "go"
},
"cmd_windows": ["gopls"],
"cmd_macos": ["gopls"],
"cmd_unix": ["gopls"]
}
The gopls daemon is started successfully.
Any command send a "LSP: Go unsupported msg: Response error!...".
Any idea ?
Thanks.
@halfbrained
The signs are not very clear, but it seems like this server requires workspace/configuration, the documentation for which is beyond minimal :)
Will investigate this further tomorrow
Got it working, some cleanup left to do, will commit fixed version tomorrow.
Thanks a lot !
@tbellembois please check the new version, should behave now
Ok I check it right now. Thanks.
I have tried successfully basic commands: completion, go to definition, hover. How can we run additional commands such as rename ?
AFAIR 'rename' is not supported,until you see the menu item "LSP client / Rename".
Ok thanks.
Most helpful comment
The signs are not very clear, but it seems like this server requires workspace/configuration, the documentation for which is beyond minimal :)
Will investigate this further tomorrow