tweaks: reshuffle a coloring rule, to have related ones together
(We don't want the rule for control codes after the rule for comments, because then control codes in commented-out binds would stand out.)master
parent
d9e42cb274
commit
fab4d0afcb
|
@ -22,12 +22,12 @@ color green "^[[:blank:]]*((un)?(bind|set)|include|syntax|header|magic|comment|f
|
|||
# Strings
|
||||
color brightmagenta "[[:blank:]](start=)?".+""
|
||||
|
||||
# Control codes
|
||||
color bold,pink "[[:cntrl:]]"
|
||||
|
||||
# Color commands
|
||||
color magenta "^[[:blank:]]*i?color\>|[[:blank:]](start=|end=)"
|
||||
|
||||
# Control codes
|
||||
color bold,pink "[[:cntrl:]]"
|
||||
|
||||
# Comments
|
||||
color brightblue "(^|[[:blank:]]+)#.*"
|
||||
color cyan "^[[:blank:]]*##.*"
|
||||
|
|
Loading…
Reference in New Issue