> " If you source this file with :so %
> " Why is the first 'b' on a line not highlighted?
> syntax clear
> syntax match A /^a/ nextgroup=B
> syntax match B /\_s\+b/ contained
> hi link A Error
> hi link B Todo
> finish
>
> =====
> a
> b
> a
> b
> a b
> =====
>
> Happens with various Vim versions in the 7.2+ range. Tried with various
> skip{white,nl,empty} options added to the 'nextgroup' line. Seems like
> something that's probably explained somewhere, but I don't see it.
Works for me with Vim 7.2.284 on Windows.
I don't have access to different systems right now, so I can't test
it with different vim versions.
regards,
Christian
--
You received this message from the "vim_use" 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
No comments:
Post a Comment