diff options
| author | cipharius <cipharius@tase.lv> | 2019-10-27 15:49:04 +0200 |
|---|---|---|
| committer | cipharius <cipharius@tase.lv> | 2019-10-27 15:49:04 +0200 |
| commit | 988b92d948ed8db0c62cff286618a4e7c2e67f2c (patch) | |
| tree | baf58c7631ac119961035f4d591efa3d3261935d /rc/filetype/python.kak | |
| parent | ec31d839724cfd0f8431c04509f1f1d2b5fa1290 (diff) | |
Fix python operator highlighter
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 0fb370fc..5a5da6f6 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -134,7 +134,7 @@ evaluate-commands %sh{ " } -add-highlighter shared/python/code/ regex (?<=[\w\s\d'"_])(<=|<<|>>|>=|<>|<|>|!=|==|\||\^|&|\+|-|\*\*|\*|//|/|%|~) 0:operator +add-highlighter shared/python/code/ regex (?<=[\w\s\d\)\]'"_])(<=|<<|>>|>=|<>|<|>|!=|==|\||\^|&|\+|-|\*\*|\*|//?|%|~) 0:operator add-highlighter shared/python/code/ regex (?<=[\w\s\d'"_])((?<![=<>!])=(?![=])|[+*-]=) 0:builtin add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module |
