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

Local variable inside function can't be regarded as Parameter type for the semantic token #926

Closed
kevinhwang91 opened this issue Jan 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kevinhwang91
Copy link
Contributor

Describe the bug
If the semantic token is enabled, the local variable inside the function can't be regarded as Parameter type for the semantic token, but be regarded as Variable instead.

Expected behavior
Should Like textDocument/documentHighlight

Screenshots
image
local variable a and b should be regarded Parameter type.

Environment (please complete the following information):

  • OS: ArchLInux
  • Is WSL remote? No
  • Client: coc.nvim

Additional context

Provide logs

@sumneko sumneko added the bug Something isn't working label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants