Christian Brabandt wrote:

> I just noticed there is an error when using :g command with folded lines.
> 
> take this file:
> #v+
> ~$ cat vim_bug.txt
> 1
> 1
> 2
> 2
> 1
> 1
> 1
> 1
> vim:fdm=expr fdl=0 fde=getline(v\:lnum)==1
> ~$ vim -u NONE -U NONE -N -i NONE -c 'folddoclosed m$' vim_bug.txt
> E315: ml_get: invalid lnum: 11
> #v-
> 
> This patch fixes it. Please check and include.

Thanks for the patch.  I'll look into it the coming week.

-- 
hundred-and-one symptoms of being an internet addict:
184. You no longer ask prospective dates what their sign is, instead
     your line is "Hi, what's your URL?"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui