[PR #2344] docs: fix gopls LSP name in config #10282

Closed
opened 2026-02-16 18:14:54 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2344

State: closed
Merged: Yes


Using gopls in the opencode.json config isn't working, instead we need to use golang.

The matching is currently based on the id field in the LSP servers: https://github.com/rekram1-node/opencode-sst/blob/73792b37b122a87cae837178969ee82c61a904cb/packages/opencode/src/lsp/server.ts#L190

Although the column title seems to refer to the underlying LSP server name (e.g. for pyright), this naming follows the way rust LSP is documented below.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2344 **State:** closed **Merged:** Yes --- Using `gopls` in the `opencode.json` config isn't working, instead we need to use `golang`. The matching is currently based on the `id` field in the LSP servers: https://github.com/rekram1-node/opencode-sst/blob/73792b37b122a87cae837178969ee82c61a904cb/packages/opencode/src/lsp/server.ts#L190 Although the column title seems to refer to the underlying LSP server name (e.g. for pyright), this naming follows the way `rust` LSP is documented below.
yindo added the pull-request label 2026-02-16 18:14:54 -05:00
yindo closed this issue 2026-02-16 18:14:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10282