Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Handling nimlangserver extension/statusUpdate #4628

Merged

Conversation

niontrix
Copy link
Contributor

Why?:

  • Since version 1.6.0 nimlangserver periodically sends an extension/statusUpdate notification which triggers a warning by lsp-mode. Because of the notification being sent quite frequently it prevents the user from actually being able to work on a Nim file. So, at the moment we should just ignore the notification which can still be inspected when setting lsp-log-io to t.

This change addresses the need by:

  • Add notification handler #'ignore to lsp-nim.el for extension/statusUpdate

Why?:
- Since version 1.6.0 `nimlangserver` periodically sends an
  `extension/statusUpdate` notification which triggers a warning by
  `lsp-mode`. Because of the notification being sent quite frequently it
  prevents the user from actually being able to work on a Nim file. So, at the
  moment we should just ignore the notification which can still be inspected
  when setting `lsp-log-io` to `t`.

This change addresses the need by:
- Add notification handler #'ignore to `lsp-nim.el` for `extension/statusUpdate`
@github-actions github-actions bot added the client One or more of lsp-mode language clients label Nov 28, 2024
@jcs090218 jcs090218 merged commit 646ef4c into emacs-lsp:master Nov 28, 2024
10 of 13 checks passed
@jcs090218
Copy link
Member

Thank you!

@niontrix niontrix deleted the feat/handle-nim-ext-status-update branch November 28, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client One or more of lsp-mode language clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants