rc python: Highlight modules in import statements
This commit is contained in:
parent
3c34de7fe7
commit
38746b169e
|
@ -136,6 +136,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:builtin
|
||||
add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module
|
||||
|
||||
# Commands
|
||||
# ‾‾‾‾‾‾‾‾
|
||||
|
|
Loading…
Reference in New Issue
Block a user