diff options
| author | Dan Rosén <dan.rosen@gu.se> | 2018-01-07 23:35:54 +0100 |
|---|---|---|
| committer | Dan Rosén <dan.rosen@gu.se> | 2018-01-07 23:36:41 +0100 |
| commit | a612432c8d7eeec35873bb788ead2402c92592b8 (patch) | |
| tree | 1346c7eae4ed6a0cf59ec4f62ad1322e84d3c3da | |
| parent | 40aaf63338021fee8377c74f2581a1c728be3fdc (diff) | |
Highlight python operators
| -rw-r--r-- | rc/core/python.kak | 3 |
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 # ‾‾‾‾‾‾‾‾ |
