1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-11-18 20:56:17 +01:00

Fix Python decorators highlighting

As per PR https://github.com/cmur2/joe-syntax/pull/16 from @avli it does:

This fixes highlighting of the decorators with arguments. For example, the following code highlighting was broken:

```python

@first
@second("arg1", "arg2")
def my_fun():
    pass

```
This commit is contained in:
cn 2014-11-11 09:39:35 +01:00
parent 0406fcbb47
commit 3b413c90d7

View File

@ -35,7 +35,7 @@
# annotations
:decorator Decorator
* decorator
" \t\r\n" idle noeat
" (\t\r\n" idle noeat
:comment Comment
* comment