Fix python operator highlighter
This commit is contained in:
parent
ec31d83972
commit
988b92d948
|
@ -134,7 +134,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:operator
|
||||||
add-highlighter shared/python/code/ regex (?<=[\w\s\d'"_])((?<![=<>!])=(?![=])|[+*-]=) 0:builtin
|
add-highlighter shared/python/code/ regex (?<=[\w\s\d'"_])((?<![=<>!])=(?![=])|[+*-]=) 0:builtin
|
||||||
add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module
|
add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user