I want to make a simple wiki filetype for myself(I know there has been vimwiki there). But I encounter the problem of foldlevel. For example, the following text:
== Header == Some text. * Item 1 Some text 1. * Item 2 Some text 2 I want to do folding like this: == Header == --------------------------- Some text. * Item 1 ------------------------------ * Item 2 ------------------------------ I have tried to use search header then set all the items's foldlevel to foldlevel(headerline) + 1, but I find the vim can't know the foldlevel of headerline when evaluing the folding, so my question is how to achieve it? Any advice will be appreciated. -- Hi, Wu, Yue --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
