Skip to content

Conversation

@guill
Copy link
Contributor

@guill guill commented Jan 25, 2026

The latest version of OpenCode (1.1.35) outputs a log line to stderr on startup (see anomalyco/opencode#10506 ). This causes the NeoVim plugin to hang indefinitely.

This commit makes two changes:

  1. If we fail to start the OpenCode server, we display a notification with the error rather than hanging indefinitely.
  2. We don't allow DEBUG, INFO, or WARN-level messages to fail initialization.

The latest version of OpenCode (1.1.35) outputs a log line to stderr on
startup (see anomalyco/opencode#10506 ). This
causes the NeoVim plugin to hang indefinitely.

This commit makes two changes:
1. If we fail to start the OpenCode server, we display a notification
   with the error rather than hanging indefinitely.
2. We don't allow DEBUG, INFO, or WARN-level messages to fail
   initialization.
@sudo-tee
Copy link
Owner

Thanks for the PR

I am away for the weekend but it looks good

I will merge so it unblock users with the latest opencode version

@sudo-tee sudo-tee merged commit 03a1475 into sudo-tee:main Jan 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants