diff options
| author | Cem Aksoylar <caksoylar@github.com> | 2020-08-12 23:12:35 -0700 |
|---|---|---|
| committer | Cem Aksoylar <caksoylar@github.com> | 2020-08-12 23:12:35 -0700 |
| commit | 03032d6c3e6a2cf8dab62c4d638f607feb99c5b5 (patch) | |
| tree | f61cd58858a94900c34e2d63cf5c2a1c82faf99c /rc/filetype/python.kak | |
| parent | e9b0e9a57df7b650df15e4b66285cfc35696909c (diff) | |
Add assignment expression := (walrus) operator
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 af189e8e..76cf496a 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -137,7 +137,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:builtin +add-highlighter shared/python/code/ regex (?<=[\w\s\d'"_])((?<![=<>!]):?=(?![=])|[+*-]=) 0:builtin add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module # Commands |
