Highlight python operators

This commit is contained in:
Dan Rosén 2018-01-07 23:35:54 +01:00
parent 40aaf63338
commit a612432c8d

View File

@ -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 # Commands
# ‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾