Skip to content

Conversation

@AThePeanut4
Copy link
Contributor

This is a fix for #68: unrecognized notifications (requests without an "id" parameter) are now completely ignored rather than generating a "MethodNotFound" error response, which prevents the error message popping up.

From https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#notificationMessage:

Notification Message

A notification message. A processed notification message must not send a response back. They work like events.

Fixes #68

@nolanderc
Copy link
Owner

Thanks! 😸

@nolanderc nolanderc merged commit 0a698e7 into nolanderc:main Oct 16, 2025
9 checks passed
@AThePeanut4 AThePeanut4 deleted the fix-cancelrequest branch October 16, 2025 22:34
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.

Neovim INVALID_SERVER_MESSAGE -32601

2 participants