Skip to content

Comments

Ignore unimplemented notifications#501

Merged
SuperAuguste merged 1 commit intozigtools:masterfrom
gpanders:ignore-unimplemented-notifications
Jun 5, 2022
Merged

Ignore unimplemented notifications#501
SuperAuguste merged 1 commit intozigtools:masterfrom
gpanders:ignore-unimplemented-notifications

Conversation

@gpanders
Copy link
Contributor

@gpanders gpanders commented Jun 5, 2022

Responding to an unimplemented notification can cause errors for some
LSP clients that do not expect to receive a response after sending a
notification. Differentiate between unimplemented requests and
notifications and only send a generic null response for the former while
silently ignoring the latter.

Responding to an unimplemented notification can cause errors for some
LSP clients that do not expect to receive a response after sending a
notification. Differentiate between unimplemented requests and
notifications and only send a generic null response for the former while
silently ignoring the latter.
@SuperAuguste
Copy link
Member

Good call! LGTM!

@SuperAuguste SuperAuguste merged commit 289d137 into zigtools:master Jun 5, 2022
@gpanders gpanders deleted the ignore-unimplemented-notifications branch June 5, 2022 21:49
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