On Thu, May 07, 2009 at 05:35:18PM +1000, John Beckett wrote:
> 
> Wu, Yue wrote:
> > 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:
> 
> This tip shows how to achieve what I think you want:
> http://vim.wikia.com/wiki/Edit_MoinMoin_wiki_files_with_folding
> 
> You probably don't want the specific moin stuff, but that
> is quite separate from the folding of sections.

I think your way is just for section's folding, which is determined by the head 
of
section's strings' length, but I want to fold the list item, which can be the
same in different conditions. For example:

= Header 1 =
 Text of header 1.
 * List 1 of header 1
  Text 1
 * List 2 of header 1
  Text 2

== Header 2 ==
 Text of header 2.
 * List 1 of header 2
  Text 3
 * List 2 of header 2
  Text 4

How to do determination on the fold level of List 1 of header 1, List 1 of 
header 2
and other.

-- 
Hi,
Wu, Yue

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

Reply via email to