diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-08-04 20:21:20 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-08-04 20:21:20 +1000 |
| commit | 6eec6e656d47f102c642f8bb1faf5f1c6c15df4f (patch) | |
| tree | 86cfe90665cb33b4f71d2e0bc6b935a02895f8f8 /rc/filetype/python.kak | |
| parent | 65dcd8dea610fb337ffda92072d9ec5c177ecdca (diff) | |
| parent | ff52bd7027ec579a82f8f88e94341407092bf81b (diff) | |
Merge remote-tracking branch 'lenormf/fix-python-decorators'
Diffstat (limited to 'rc/filetype/python.kak')
| -rw-r--r-- | rc/filetype/python.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak index 7c4472a3..91dcb1ef 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -130,7 +130,7 @@ evaluate-commands %sh{ add-highlighter shared/python/code/ regex '\b($(join "${keywords}" '|'))\b' 0:keyword add-highlighter shared/python/code/ regex '\b($(join "${functions}" '|'))\b\(' 1:builtin add-highlighter shared/python/code/ regex '\b($(join "${types}" '|'))\b' 0:type - add-highlighter shared/python/code/ regex '@[\w_]+\b' 0:attribute + add-highlighter shared/python/code/ regex '^\h*(@[\w_.]+))' 1:attribute " } |
