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
Benno Schulenberg 2021-11-03 17:34:23 +01:00
parent d9e42cb274
commit fab4d0afcb
1 changed files with 3 additions and 3 deletions

View File

@ -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:]]*##.*"