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

Semantic tokens makes null no longer keyword highlighted #1056

Closed
Jarred-Sumner opened this issue Mar 12, 2023 · 0 comments · Fixed by #1057
Closed

Semantic tokens makes null no longer keyword highlighted #1056

Jarred-Sumner opened this issue Mar 12, 2023 · 0 comments · Fixed by #1057
Assignees
Labels
bug Something isn't working

Comments

@Jarred-Sumner
Copy link
Contributor

Jarred-Sumner commented Mar 12, 2023

Zig Version

0.11.0-dev.1863+a63134a4a

Zig Language Server Version

latest

Steps to Reproduce

  1. Auto-format
    null is highlighted as a keyword:

image

  1. Wait 5 seconds or so (for a large file)
  2. null now appears as an identifier(?) instead of a token

image

Expected Behavior

null should be highlighted the same before and after formatting

Actual Behavior

It appears as an identifier

edit: applies to true and false as well
image

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

Successfully merging a pull request may close this issue.

2 participants