Re: PHP fold html

2006-06-29 Thread Silent1
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.

Re: PHP fold html

2006-06-28 Thread Peter Hodge
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

PHP fold html

2006-06-28 Thread Silent1
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