mirror of https://github.com/cmur2/joe-syntax.git
Python: the highlighter believed that the `@' binary operator is a decorator, fix this
This commit is contained in:
parent
afbd3aa118
commit
2693dd1fe8
|
@ -27,12 +27,16 @@
|
|||
"\"" string_dq_1 recolor=-1
|
||||
"a-zA-Z_" ident noeat
|
||||
"{}" brace recolor=-1
|
||||
"@" decorator recolor=-1
|
||||
"@" maybe_decorator
|
||||
|
||||
:brace Brace
|
||||
* idle noeat
|
||||
|
||||
# annotations
|
||||
:maybe_decorator Idle
|
||||
"a-zA-Z_" decorator recolor=-2
|
||||
" (\t\r\n" idle noeat
|
||||
|
||||
:decorator Decorator
|
||||
* decorator
|
||||
" (\t\r\n" idle noeat
|
||||
|
|
Loading…
Reference in New Issue