Python: color for modules in imports added

This commit is contained in:
Mal 2022-06-06 10:11:31 +02:00
parent b277d9f3b4
commit 4237bc545d
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ color orange "def \w+\(.*\)( *-> *\w+){0,1}:"
color green "def \w+\("
color green "@\w+"
# Import modules
color magenta "(import|from) \w+"
# 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)\>"