Skip to content

Commit

Permalink
fix macro highlight (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrHorn authored Aug 5, 2024
1 parent dc29edc commit de68e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/passes/SyntaxHighlighter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function (highlighter::SyntaxHighlighterSettings)(crayons::Vector{Crayon}, token
crayons[i-1] = cscheme.function_def
end
# @fdsafds
elseif kind(t) == K"Identifier" && kind(prev_t) == K"@"
elseif kind(t) == K"MacroName"
crayons[i-1] = cscheme._macro
crayons[i] = cscheme._macro
# 2] = 32.32
Expand Down

0 comments on commit de68e58

Please sign in to comment.