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): data field can't be nil #942

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

kevinhwang91
Copy link
Contributor

textDocument/semanticTokens/range should return SemanticTokens | null from LSP specification.

data field of the SemanticTokens must be a array, even if no result.

`textDocument/semanticTokens/range` should return `SemanticTokens | null` from LSP specification.

`data` field of the `SemanticTokens` must be a array, even if no result.
@sumneko sumneko merged commit 7842cd0 into LuaLS:master Feb 3, 2022
@sumneko
Copy link
Collaborator

sumneko commented Feb 3, 2022

Thank you!

@kevinhwang91 kevinhwang91 deleted the fix-nil-semantictokens branch February 3, 2022 07:11
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