Config option for disabling autofetch of lsp servers #1316

Closed
opened 2026-02-16 17:30:24 -05:00 by yindo · 3 comments
Owner

Originally created by @segoon on GitHub (Aug 15, 2025).

Originally assigned to: @thdxr on GitHub.

LSP server is automatically downloaded from GH in https://github.com/sst/opencode/blob/dev/packages/opencode/src/lsp/server.ts. Sometimes it is not appropriate to fetch any remote binaries from GH. I'd want a config option to explicitly disable downloading missing LSP server binaries.

I can do it myself, if you tell me that the option is OK for merge.

Originally created by @segoon on GitHub (Aug 15, 2025). Originally assigned to: @thdxr on GitHub. LSP server is automatically downloaded from GH in https://github.com/sst/opencode/blob/dev/packages/opencode/src/lsp/server.ts. Sometimes it is not appropriate to fetch any remote binaries from GH. I'd want a config option to explicitly disable downloading missing LSP server binaries. I can do it myself, if you tell me that the option is OK for merge.
yindo closed this issue 2026-02-16 17:30:24 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 15, 2025):

I think a PR would be accepted here @segoon

@rekram1-node commented on GitHub (Aug 15, 2025): I think a PR would be accepted here @segoon
Author
Owner

@thdxr commented on GitHub (Aug 16, 2025):

yeah would take a flag for OPENCODE_DISABLE_LSP_DOWNLOAD

@thdxr commented on GitHub (Aug 16, 2025): yeah would take a flag for OPENCODE_DISABLE_LSP_DOWNLOAD
Author
Owner

@segoon commented on GitHub (Aug 22, 2025):

@thdxr can you please look at the PR?

@segoon commented on GitHub (Aug 22, 2025): @thdxr can you please look at the PR?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1316