mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-28 05:09:49 +03:00
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.)
This commit is contained in:
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
Block a user