Christian Brabandt wrote:

> On Do, 04 Aug 2011, Tim Chase wrote:
> 
> [fullquote, cause forwarding to vim-dev]
> > On 08/04/2011 10:02 AM, [email protected] wrote:
> > >A remark about :put =list
> > >I tried :put =[ 'str1', 'str2', '', 'str3', '' ]
> > >the '' are here to insert empty lines.
> > >The last one is not inserted.
> > 
> > I see the same results here (the first empty string is added, the
> > second/last one isn't) and I would call this a bug.
> 
> Attached patch fixes this bug.

Thanks.  I'll have to double-check that omitting the empty line was not
intentional.

-- 
TIM:    Too late.
ARTHUR: What?
TIM:    There he is!
   [They all turn,, and see a large white RABBIT lollop a few yards out of the
   cave.  Accompanied by terrifying chord and jarring metallic monster noise.]
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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