Hello,

I would like to use 'syntax region', where I have a defined start and possible 
end of region, BUT: after the pattern considered as start it may happen that 
there is a pattern that should cause the whole region match to be cancelled. 
It's not something like for 'skip' because it still makes the region to be 
matched.

In other words: my region starts from found A letter and ends with Z letter, 
but can't contain Q letter, so:

A T W Z E

makes the region to be matched since the first letter to the last but one. But 
here:

T A Q E Z

despite matching start with A, there is no region to be matched in this 
sequence because he Q letter causes the matching to be cancelled.

How to do something like that in vim syntax definition?

-- 
Sektor

-- 
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

Raspunde prin e-mail lui