commit 30a984661bb546a1526fb2fe08cd4d79e4c63378
parent 7ab8a4d835c2c36662a7b2e64fb6341016155cc2
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 17 Apr 2018 09:52:01 +0200
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.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/syntax/po.nanorc b/syntax/po.nanorc
@@ -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.