On 2017-05-31, David Larson wrote: > On Thursday, May 18, 2017 at 9:28:27 AM UTC-7, Ben Fritz wrote: > > On Wednesday, May 17, 2017 at 5:42:19 PM UTC-5, David Larson wrote: > > > On Thursday, May 11, 2017 at 2:36:43 PM UTC-7, David Larson wrote: > > > > When pasting a line at the beginning of an open fold, the fold closes. > > > > To reproduce: > > > > > > > > % vim -N --noplugin -u NONE -U NONE -c "set sw=2 fdm=indent" > > > > > > > > Then type: > > > > One > > > > Two > > > > Three > > > > > > > > (there are two spaces in front of “Two” and “Three”). Then within vim: > > > > > > > > :2normal YP > > > > > > > > The fold is now closed and the pasted line is hidden in the fold. > > > > > > > > I can reproduce this with vim 8.0 patch 402 > > > > > > Bump. > > > > Confirmed in 64-bit 8.0.586 on Windows 7. > > > > It happens whenever a new indented line is pasted below the unindented line. > > Can anyone else reproduce this?
I reproduced it with 8.0.586 on Linux (RHEL 7.2). Regards, Gary -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
