Python: the highlighter believed that the `@' binary operator is a decorator, fix this

This commit is contained in:
Wictor Lund 2019-10-02 12:47:29 +03:00
parent afbd3aa118
commit 2693dd1fe8
1 changed files with 5 additions and 1 deletions

View File

@ -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