Skip to content

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 kevinhwang91 force-pushed the limit-semantictoken-range branch from bc5e049 to 5e63a4d Compare February 1, 2022 11:04
@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