Saturday, June 18, 2022

Re: Can syntax clusters contain other clusters?

The problem was with something else. Sorry for the noise!

Den lör 18 juni 2022 17:51Bram Moolenaar <Bram@moolenaar.net> skrev:

> The subject line says it all: I'm trying to use syntax clusters and wonder
> if clusters may contain other clusters, i.e. should this work?
>
> syn cluster mydslAnyValue contains=@mydslValue,@mydslContainer
> syn cluster mydslAllValues contains=@mydslAnyValue,mydslConstant

Yes, there is an example just above ":help E848".

--
BODY:        I'm not dead!
CART DRIVER: 'Ere.  He says he's not dead.
LARGE MAN:   Yes he is.
BODY:        I'm not!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhB72S0UmkJ-W4rtuU4jNVJmowbfF1eL0KhswQgXKpXcbw%40mail.gmail.com.

No comments: