Re: v:fold* variables (bug?)
- Mikolaj Machowski wrote:
> Read recently on vim-list about 'exporting' folds to html and tried toNote that this has been implemented for Vim 7. Also for diff mode.
> make something with this idea. One thing isn't easy - detecting of
> Theoretically with v:fold* variables and foldlevel option it should beThe v:fold* variables are only set when evaluating 'foldtext'. You are
> easy but...
> In help is that v:fold* variables should return values for 'closed
> fold'. What does that mean?
> They are routinely returning values for various folds.
probably seeing old values.
Witches prefer brooms: vacuum-cleaners need extension cords!
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///