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

fix(semantic-tokens): limit comments range #936

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

kevinhwang91
Copy link
Contributor

@kevinhwang91 kevinhwang91 commented Feb 1, 2022

Client requests textDocument/semanticTokens/range service with a range
parameter in order to get the tokens of the visible window, but server
return the additional comments highlighting tokens may be out of range,
we should keep the tokens requested by the client in range.

@sumneko
Copy link
Collaborator

sumneko commented Feb 1, 2022

Please add description.

Client requests `textDocument/semanticTokens/range` service with a range
parameter in order to get the tokens of the visible window, but server
return the additional comments highlighting tokens may be out of range,
we should keep the tokens requested by the client in range.
@kevinhwang91
Copy link
Contributor Author

Sorry, I have added the description in this PR and inside the commit msg.

@sumneko sumneko merged commit 1608bef into LuaLS:master Feb 1, 2022
@sumneko
Copy link
Collaborator

sumneko commented Feb 1, 2022

Thanks

@kevinhwang91 kevinhwang91 deleted the limit-semantictoken-range branch February 1, 2022 12: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.

2 participants