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 macro highlighting #364

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Conversation

ChrHorn
Copy link
Contributor

@ChrHorn ChrHorn commented Jul 28, 2024

Macro highlighting wasn't working because JuliaSyntax uses MacroName instead of Identifier.

julia> using JuliaSyntax

julia> tokenize("@my_macro")
2-element Vector{Token}:
 Token(JuliaSyntax.SyntaxHead(K"@", 0x0001), 0x00000001:0x00000001)
 Token(JuliaSyntax.SyntaxHead(K"MacroName", 0x0000), 0x00000002:0x00000009)

@KristofferC KristofferC merged commit de68e58 into KristofferC:master Aug 5, 2024
9 of 10 checks passed
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