Skip to content

Commit

Permalink
change to sOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Apr 3, 2024
1 parent 8e9d7cb commit b519a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syntax_highlighting.nim
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ proc parseNimCode*(s: Text, state: NimParseState, len = 100): tuple[segments: se
elif r == rune"#": comment
elif r in "0123456789".runes: number
elif r in opRunes:
add sOperatorWord, 1
add sOperator, 1

elif r == "\"".rune and peek(1) == r and peek(2) == r:
multilineStr
Expand Down

0 comments on commit b519a86

Please sign in to comment.