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): coreect token type priority #1009

Merged
merged 1 commit into from
Apr 2, 2022

Conversation

kevinhwang91
Copy link
Contributor

If metatable with __call method, adding @class and @type fun()
together for a class make the token be regarded as function, we should
make sure @class override @type.

image

->

image

If metatable with `__call` method, adding `@class` and `@type fun()`
together for a class make the token be regarded as function, we should
make sure `@class` override `@type`.
@sumneko
Copy link
Collaborator

sumneko commented Apr 2, 2022

Thank you!

@sumneko sumneko merged commit 01f8679 into LuaLS:master Apr 2, 2022
@kevinhwang91 kevinhwang91 deleted the fix-semantic-priority branch April 3, 2022 04:27
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