mirror of git://git.sv.gnu.org/nano.git
syntax: po: highlight also other escaped characters, not just \n
Especially color \a and \t, to make it easier to distinguish them from contiguous text.
This commit is contained in:
parent
7ab8a4d835
commit
30a984661b
|
@ -20,9 +20,9 @@ color red " fuzzy(,|$)"
|
|||
color yellow " (no-)?[-[:alpha:]]+-format(,|$)"
|
||||
# Format specifiers.
|
||||
color brightmagenta "%([1-9]\$)?[a-z]*"
|
||||
# Quotes and newlines.
|
||||
# Quotes and escaped characters.
|
||||
color yellow "\""
|
||||
color cyan "\\n"
|
||||
color cyan "\\[abcefnrtv"\]"
|
||||
# Reminders.
|
||||
color brightwhite,yellow "(FIXME|TODO|XXX)"
|
||||
# Obsolete strings.
|
||||
|
|
Loading…
Reference in New Issue