-
Notifications
You must be signed in to change notification settings - Fork 18.6k
LSP stopped working #23937
Copy link
Copy link
Closed as not planned
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Since version
1.14.20or maybe sooner the LSP stopped working for me.First I was following the requirements of setting
OPENCODE_EXPERIMENTAL_LSP_TOOL=1but that was dropped from documentation and documentation says that LSP is enabled by default when requirements are met.I have typescript installed and configured, it worked previously.
It is either bug when missing
lspin config is treated asfalse(disabling LSP completely) or documentation is not correct.Plugins
No response
OpenCode version
1.14.21
Steps to reproduce
opencode debug lsp symbols App --print-logs --log-level DEBUG, noticed that it was saying that LSP is disabledOPENCODE_EXPERIMENTAL_LSP_TOOL=1 opencode debug lsp symbols App --print-logs --log-level DEBUGstill disabled~/.config/opencode/opencode.jsonclooked forlspproperty, there was none, so I tried to set it to{}opencode debug lsp symbols App --print-logs --log-level DEBUGworks.Screenshot and/or share link
No response
Operating System
macOS 26.3.1
Terminal
Ghostty