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

swap highlight query order #10791

Open
MrBrN197 opened this issue May 18, 2024 · 0 comments
Open

swap highlight query order #10791

MrBrN197 opened this issue May 18, 2024 · 0 comments
Labels
A-language-support Area: Support for programming/text languages C-enhancement Category: Improvements

Comments

@MrBrN197
Copy link

not sure but this zig highlight queries seems to in the wrong order.
I believe the intention was for the second query to be an exception for the first BUILTINIDENTIFIER and swapping the order gets it working as such for me.

(BUILTINIDENTIFIER) @function.builtin
((BUILTINIDENTIFIER) @keyword.control.import
(#any-of? @keyword.control.import "@import" "@cImport"))

@MrBrN197 MrBrN197 added the C-enhancement Category: Improvements label May 18, 2024
@pascalkuthe pascalkuthe added the A-language-support Area: Support for programming/text languages label May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants