Doug Kearns wrote: > In the following sample string: > > > {pre{contained}post} > > > the right brace after "contained" is not highlighted when using these > syntax commands. > > > syn region foo1 matchgroup=foo2 start="{" end="}" contains=foo3 > syn region foo3 start="{" end="}" transparent contained > hi def link foo1 Constant > hi def link foo2 Delimiter > > > Vim 6 seems to exhibit the correct behaviour.
I can reproduce it. One more for the todo list... -- % cat /usr/include/sys/errno.h #define EPERM 1 /* Operation not permitted */ #define ENOENT 2 /* No such file or directory */ #define ESRCH 3 /* No such process */ [...] #define EMACS 666 /* Too many macros */ % /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///