Reminder for redundant white spaces added
This commit is contained in:
parent
2c53f9fcdd
commit
871450887a
|
@ -22,6 +22,7 @@ color orange "def \w+\(.*\)( *-> *\w+){0,1}:"
|
|||
|
||||
# Function/method names on definitions
|
||||
color green "def \w+\("
|
||||
color green "@\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)\>"
|
||||
|
@ -49,3 +50,6 @@ color yellow "'([^'\]|\\.)*'|"([^"\]|\\.)*"|'''|""""
|
|||
color grey "(^|[[:blank:]])#.*"
|
||||
color grey start="'''([^'),]|$)" end="(^|[^(\])'''"
|
||||
color grey start=""""([^"),]|$)" end="(^|[^(\])""""
|
||||
|
||||
# Redundant spaces
|
||||
color brightred,brightred "[[:space:]]+$"
|
||||
|
|
Loading…
Reference in New Issue