Skip to content

LSP stopped working #23937

@michalkvasnicak

Description

@michalkvasnicak

Description

Since version 1.14.20 or maybe sooner the LSP stopped working for me.

First I was following the requirements of setting OPENCODE_EXPERIMENTAL_LSP_TOOL=1 but 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 lsp in config is treated as false (disabling LSP completely) or documentation is not correct.

Plugins

No response

OpenCode version

1.14.21

Steps to reproduce

  1. ran opencode debug lsp symbols App --print-logs --log-level DEBUG, noticed that it was saying that LSP is disabled
  2. I tried OPENCODE_EXPERIMENTAL_LSP_TOOL=1 opencode debug lsp symbols App --print-logs --log-level DEBUG still disabled
  3. went to ~/.config/opencode/opencode.jsonc looked for lsp property, there was none, so I tried to set it to {}
  4. now opencode debug lsp symbols App --print-logs --log-level DEBUG works.

Screenshot and/or share link

No response

Operating System

macOS 26.3.1

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions