Hi jameslan!

On Sa, 07 Nov 2009, jameslan wrote:

> I've tried the following syntax
> syn region cMarkerFold start="{{{" skip=/\\"/ end="}}}" transparent
> fold extend containedin=cCommentL,cComment
> 
> Although the fold defined by {{{ and }}} in the comment is recognized,
> the content of this region can not be highlighted.
> 
> Any suggestion?

Sorry for being late. I think, this solves your problem:

syn region cMarkerFold matchgroup=Comment start="{{{" end="}}}" 
containedin=cCommentL,cComment contains=ALL keepend extend fold 
transparent 

(one line)

But I am by no means an expert for using syntax highlighting and I do 
not fully understand syntax highlighting. Someone else on this list can 
probably tell you, if the statement above is reasonable (It worked on 
the few .c files I have, but I program only very rarely using C).  
Hopefully someone jumps in and can provide a better solution.

regards,
Christian
-- 
GOD is REAL (unless declared INTEGER). 

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to