Commit 30a98466 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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.
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -20,9 +20,9 @@ color red " fuzzy(,|$)" ...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment