diff options
| author | Cem Aksoylar <caksoylar@github.com> | 2020-08-12 23:11:43 -0700 |
|---|---|---|
| committer | Cem Aksoylar <caksoylar@github.com> | 2020-08-12 23:11:43 -0700 |
| commit | e9b0e9a57df7b650df15e4b66285cfc35696909c (patch) | |
| tree | dcec63c016ab5ece10f55191f1a50b9202503220 /rc/filetype/python.kak | |
| parent | 2c437cfa02ca568750182209ef6249c6975243a5 (diff) | |
Fix <> and ** operators highlighting
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 b4f79dec..af189e8e 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -136,7 +136,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 |
