1
1

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.)
Этот коммит содержится в:
Benno Schulenberg 2021-11-03 17:34:23 +01:00
родитель d9e42cb274
Коммит 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:]]*##.*"