syntax: po: highlight embedded control codes that shouldn't be there
For some reason the Romanian PO file contains a literal ^Q in one of its translated messages -- currently at line 1984. This stray ^Q causes 'file' to classify po/ro.po as data. Make such mistaken control codes easier to spot when using nano.
This commit is contained in:
parent
dd24f6a18d
commit
0bc834e6f3
@ -27,3 +27,5 @@ color cyan "\\([abcefnrtv"\]|x[0-9abcdefABCDEF]{2}|[0-7]{3})"
|
||||
color brightwhite,yellow "\<(FIXME|TODO|XXX)\>"
|
||||
# Obsolete strings.
|
||||
color red "#~.*"
|
||||
# Stray control codes.
|
||||
color bold,pink,red "[[:cntrl:]]"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user