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