Skip to content

Commit

Permalink
Fixed some multi-byte characters being incorrectly marked as operators.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitalquark committed Aug 3, 2023
1 parent ede205d commit 304cff3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lexers/julia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ lex:add_rule('character', token('character', char))
lex:add_style('character', lexer.styles.constant)

-- Operator
lex:add_rule('operator', token(lexer.OPERATOR, S('+-*/÷<>=!≠≈≤≥%^&|⊻~\\\':?.√')))
lex:add_rule('operator', token(lexer.OPERATOR, S('+-*/<>=!%^&|~\\\':?.') + '÷' + '' + '' +
'' + '' + '' + ''))

lexer.property['scintillua.comment'] = '#'

Expand Down

0 comments on commit 304cff3

Please sign in to comment.