Browse Source

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

```
pull/17/head
cn 7 years ago
parent
commit
3b413c90d7
  1. 2
      python.jsf

2
python.jsf

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

Loading…
Cancel
Save