Przeglądaj źródła

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 6 lat temu
rodzic
commit
3b413c90d7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      python.jsf

+ 1
- 1
python.jsf Wyświetl plik

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

:comment Comment
* comment


Ładowanie…
Anuluj
Zapisz