Christian wrote:

> Bram,
> here is a problem with the syntax highlighting:
> 
> vim -u NONE -N -c :set hls
> :h syntax
> /\%9l\%>20c\&\%<28c
> :nohls
> :syntax match ErrorMsg /\%9l\%>20c\&\%<28c/
> 
> Note, that the search engine does highlight something, while
> the syntax engine, does not highlight anything.
> 
> I do not know the syntax engine good enough, that I could propose a fix. 

Strange.  Note that adding a dot is required for something to show up if
you leave out the \&:

 :syntax match ErrorMsg /.\%9l\%>20c\%<28c/

One would expect the \& would not make a difference.  Looks like any
column check after the \& fails.

-- 
hundred-and-one symptoms of being an internet addict:
166. You have been on your computer soo long that you didn't realize
     you had grandchildren.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui