diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak index b88f5343..b6bcc86e 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 # ‾‾‾‾‾‾‾‾