On Feb 18, 10:48 pm, Brett Stahlman <[email protected]> wrote:
> On Feb 18, 10:55 am, Maxim Kim <[email protected]> wrote:

> You need to give level 2 the 'contained' attribute, and indicate that
> level 1 can contain level 2: e.g.,
>
> :syntax region level1 start=/^![^!]\+.*/ end=/\n\+\ze![^!]\+.*/
> transparent fold contains=level2
> :syntax region level2 start=/^!![^!]\+.*/ end=/\n\+\ze!!\?[^!]\+.*/
> transparent fold contained
Unfortunatly It doesn't work:

+-- 19 lines: ! Level 1----------
 !! Level 2
 blablabla
 blablabla
 blablabla

+-- 4 lines: ! Level 1----------

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

Reply via email to