Sfoglia il codice sorgente

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 anni fa
parent
commit
3b413c90d7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      python.jsf

+ 1
- 1
python.jsf Vedi File

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

:comment Comment
* comment


Caricamento…
Annulla
Salva