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
|
# Strings
|
||||||
color brightmagenta "[[:blank:]](start=)?".+""
|
color brightmagenta "[[:blank:]](start=)?".+""
|
||||||
|
|
||||||
# Control codes
|
|
||||||
color bold,pink "[[:cntrl:]]"
|
|
||||||
|
|
||||||
# Color commands
|
# Color commands
|
||||||
color magenta "^[[:blank:]]*i?color\>|[[:blank:]](start=|end=)"
|
color magenta "^[[:blank:]]*i?color\>|[[:blank:]](start=|end=)"
|
||||||
|
|
||||||
|
# Control codes
|
||||||
|
color bold,pink "[[:cntrl:]]"
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
color brightblue "(^|[[:blank:]]+)#.*"
|
color brightblue "(^|[[:blank:]]+)#.*"
|
||||||
color cyan "^[[:blank:]]*##.*"
|
color cyan "^[[:blank:]]*##.*"
|
||||||
|
|
Loading…
Reference in New Issue