if i switch the foldmethod to marker all my functions/classes will
unfold. The reason i created that other fold syntax is to be able to
fold what ever i want inside syntax fold mehtod. Now i just need to be
able to do now is to be able to fold html inside the syntax
foldmethod. Thanks in advance.
Hi,
You can achieve this by setting setting foldmethod=marker, which automatically
creates folds at all {{{ and }}} pairs. See :help fold-marker for more
information. Adding to the syntax file should not be necessary.
regards,
Peter
--- Silent1 <[EMAIL PROTECTED]> wrote:
> i added this to
i added this to the default php syntax file so i can create folds with
//{{{ //}}} anywhere in my php.
syn region phpParent matchgroup=Delimiter start="//{{{" end="//}}}"
contained [EMAIL PROTECTED],phpFoldHtmlInside transparent fold
It works great but i would like to fold html sectio