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(highlights): recognize ! as the never type #12485

Merged
merged 5 commits into from
Jan 11, 2025

Conversation

nik-rev
Copy link
Contributor

@nik-rev nik-rev commented Jan 10, 2025

No description provided.

@@ -453,8 +456,6 @@
; Remaining Identifiers
; -------

"?" @special
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is deliberate and allows styling ? differently, as many highlighters do. @operator.special might have been a better scope, but @special is already documented so the change would break themes (including the intent of the default theme)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok , i reverted it

@nik-rev nik-rev changed the title fix(highlights): recognize ? as an operator and recognize ! as the never type fix(highlights): recognize ! as the never type Jan 11, 2025
@the-mikedavis the-mikedavis merged commit 8f5f818 into helix-editor:master Jan 11, 2025
6 checks passed
rmburg pushed a commit to rmburg/helix that referenced this pull request Jan 20, 2025
VishnuTejaBandi pushed a commit to VishnuTejaBandi/helix that referenced this pull request Jan 21, 2025
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.

3 participants