Python: color for modules in imports added
This commit is contained in:
parent
b277d9f3b4
commit
4237bc545d
|
@ -24,6 +24,9 @@ color orange "def \w+\(.*\)( *-> *\w+){0,1}:"
|
||||||
color green "def \w+\("
|
color green "def \w+\("
|
||||||
color green "@\w+"
|
color green "@\w+"
|
||||||
|
|
||||||
|
# Import modules
|
||||||
|
color magenta "(import|from) \w+"
|
||||||
|
|
||||||
# Statements
|
# Statements
|
||||||
color brightcyan "\<(class|def|import|from|return|for|while|global|in|if|elif|else|raise|is|not|and|or|with|continue|break|try|except|finally|pass|yield)\>"
|
color brightcyan "\<(class|def|import|from|return|for|while|global|in|if|elif|else|raise|is|not|and|or|with|continue|break|try|except|finally|pass|yield)\>"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue