浏览代码

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 年前
父节点
当前提交
3b413c90d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      python.jsf

+ 1
- 1
python.jsf 查看文件

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

:comment Comment
* comment


正在加载...
取消
保存