>From :help :syn-cluster:

"A cluster...may be referred to in a contains=.., nextgroup=.., add=..
or remove=.. list with a '@' prefix."

Is there a reason that a cluster may not be referred to in a
containedin=.. list? That would be very helpful for things in the
after/syntax directory, so that you could do things like this:

syn cluster myExcludedGroups
contains=defaultGroup1,defaultGroup2,defaultGroup3,...,defaultGroupN
syn keyword myItem1 containedin=ALLBUT,@myExcludedGroups
syn keyword myItem2 containedin=ALLBUT,@myExcludedGroups
syn keyword myItem3 containedin=ALLBUT,@myExcludedGroups
...
syn keyword myItemN containedin=ALLBUT,@myExcludedGroups
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui