diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak index 93f9a618..0fb370fc 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -136,6 +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:builtin +add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module # Commands # ‾‾‾‾‾‾‾‾