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
|
"\"" string_dq_1 recolor=-1
|
||||||
"a-zA-Z_" ident noeat
|
"a-zA-Z_" ident noeat
|
||||||
"{}" brace recolor=-1
|
"{}" brace recolor=-1
|
||||||
"@" decorator recolor=-1
|
"@" maybe_decorator
|
||||||
|
|
||||||
:brace Brace
|
:brace Brace
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
# annotations
|
# annotations
|
||||||
|
:maybe_decorator Idle
|
||||||
|
"a-zA-Z_" decorator recolor=-2
|
||||||
|
" (\t\r\n" idle noeat
|
||||||
|
|
||||||
:decorator Decorator
|
:decorator Decorator
|
||||||
* decorator
|
* decorator
|
||||||
" (\t\r\n" idle noeat
|
" (\t\r\n" idle noeat
|
||||||
|
|
Loading…
Reference in New Issue