diff --git a/rc/core/python.kak b/rc/core/python.kak index 1083c8d7..a0f66217 100644 --- a/rc/core/python.kak +++ b/rc/core/python.kak @@ -120,6 +120,9 @@ add-highlighter shared/python/comment fill comment " } +add-highlighter shared/python/code regex (?<=[\w\s\d'"_])(<=|<<|>>|>=|<>|<|>|!=|==|\||\^|&|\+|-|\*\*|\*|//|/|%|~) 0:operator +add-highlighter shared/python/code regex (?<=[\w\s\d'"_])((?!])=(?![=])|[+*-]=) 0:builtin + # Commands # ‾‾‾‾‾‾‾‾