Your message dated Fri, 11 Jul 2014 23:15:57 -0400
with message-id <[email protected]>
has caused the   report #749175,
regarding syntax/python.vim: wrong highlight for some \N{...} sequences
to be marked as having been forwarded to the upstream software
author(s) Neil Schemenauer <[email protected]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
749175: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749175
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi Neil,

The attached patch, from Jakub Wilk, corrects highlighting of \N{...}
sequences that contain numbers or hyphens (e.g., \N{HYPHEN-MINUS}).
Please consider applying and sending an updated syntax file to Bram.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>
--- unpacked/usr/share/vim/vim74/syntax/python.vim	2014-05-02 06:37:45.000000000 +0200
+++ /usr/share/vim/vim74/syntax/python.vim	2014-05-22 11:30:13.141883000 +0200
@@ -113,7 +113,7 @@
 syn match   pythonEscape	"\\x\x\{2}" contained
 syn match   pythonEscape	"\%(\\u\x\{4}\|\\U\x\{8}\)" contained
 " Python allows case-insensitive Unicode IDs: http://www.unicode.org/charts/
-syn match   pythonEscape	"\\N{\a\+\%(\s\a\+\)*}" contained
+syn match   pythonEscape	"\\N{\%(\a\|\d\|-\)\+\%(\s\%(\a\|\d\|-\)\+\)*}" contained
 syn match   pythonEscape	"\\$"
 
 if exists("python_highlight_all")

--- End Message ---

Reply via email to