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

[lsp-mode] *lsp-mode.el: ignore the workspace/semanticTokens/refresh notification #2547

Merged
merged 1 commit into from
Jan 20, 2021

Conversation

sunlin7
Copy link
Contributor

@sunlin7 sunlin7 commented Jan 20, 2021

Hi,

I got an error messsage Unknown notification: workspace/semanticTokens/refresh from lsp-mode with the backend lua-language-server.

This change try to ignore this notification to avoid the error message in Emacs.

@yyoncho
Copy link
Member

yyoncho commented Jan 20, 2021

cc @sebastiansturm

@yyoncho
Copy link
Member

yyoncho commented Jan 20, 2021

Is this with semantic highlighting enabled?

@yyoncho yyoncho merged commit 0fe29d6 into emacs-lsp:master Jan 20, 2021
@yyoncho
Copy link
Member

yyoncho commented Jan 20, 2021

Thank you!

Merging as a temporary workarround.

@sunlin7
Copy link
Contributor Author

sunlin7 commented Jan 20, 2021

Hi @yyoncho ,

Thanks.
It's docmented at textDocument_semanticTokens.

I don't really familiar with this notification, it seems no suitable handler to process it in lsp-mode.

@sebastiansturm
Copy link
Contributor

that has been mentioned as part of issue #2448, wasn't aware this is already causing issues with language servers out there. Plan to address this on the weekend, thanks for your workaround!

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.

3 participants