Merge remote-tracking branch 'lenormf/fix-python-decorators'

This commit is contained in:
Maxime Coste 2019-08-04 20:21:20 +10:00
commit 6eec6e656d

View File

@ -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 "${keywords}" '|'))\b' 0:keyword
add-highlighter shared/python/code/ regex '\b($(join "${functions}" '|'))\b\(' 1:builtin 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 '\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
" "
} }