Yakov Lerner wrote:
No, it would not work as I want it to. Block would not end unclosed String. Like this:When I removed both 'keepend' and 'extend', it started to work as expected.
{ Some string with a quote ( " ) inside }
With ''kepend extend', it apparently takes identifier-closing brace for a block-closing brace. I don't know why.
Again no. I've wrote wrote about it in my original email:> For some reason an Identifier region ends a String region and a second word 'string' is not highlighted as a string (and Vim says that it has Block match there).
So Block is not ended, but String is.
You might also try another solution: the 'syn match' for identifier instead of region.
I've tried using match. And there is not difference to using region.
Yakov
