summaryrefslogtreecommitdiff
path: root/rc/core/python.kak
diff options
context:
space:
mode:
Diffstat (limited to 'rc/core/python.kak')
-rw-r--r--rc/core/python.kak3
1 files changed, 3 insertions, 0 deletions
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
# ‾‾‾‾‾‾‾‾