Skip to content

Ignore unknown notifications instead of returning an error - #308

Merged
mattn merged 1 commit into
masterfrom
fix-unknown-notification
Jul 8, 2026
Merged

Ignore unknown notifications instead of returning an error#308
mattn merged 1 commit into
masterfrom
fix-unknown-notification

Conversation

@mattn

@mattn mattn commented Jul 8, 2026

Copy link
Copy Markdown
Owner

The LSP spec requires servers to drop notifications they do not handle, but efm replied with MethodNotFound, which clients like neovim print as recurring stderr errors (e.g. window/progress, $/setTrace). Ignore unknown notifications (logged at loglevel >= 1) while keeping MethodNotFound for unknown requests. Fixes #160. Adds a test.

@mattn
mattn merged commit 6b73f53 into master Jul 8, 2026
6 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.

window progress LSP errors

1 participant