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.master
parent
7ab8a4d835
commit
30a984661b
|
@ -20,9 +20,9 @@ color red " fuzzy(,|$)"
|
||||||
color yellow " (no-)?[-[:alpha:]]+-format(,|$)"
|
color yellow " (no-)?[-[:alpha:]]+-format(,|$)"
|
||||||
# Format specifiers.
|
# Format specifiers.
|
||||||
color brightmagenta "%([1-9]\$)?[a-z]*"
|
color brightmagenta "%([1-9]\$)?[a-z]*"
|
||||||
# Quotes and newlines.
|
# Quotes and escaped characters.
|
||||||
color yellow "\""
|
color yellow "\""
|
||||||
color cyan "\\n"
|
color cyan "\\[abcefnrtv"\]"
|
||||||
# Reminders.
|
# Reminders.
|
||||||
color brightwhite,yellow "(FIXME|TODO|XXX)"
|
color brightwhite,yellow "(FIXME|TODO|XXX)"
|
||||||
# Obsolete strings.
|
# Obsolete strings.
|
||||||
|
|
Loading…
Reference in New Issue