Matthew Malcomson wrote:

> I noticed that part of neovim PR #6221 has been included in patch 88d298aed.
> Recently some off-by-one errors have been fixed in that PR, so I'm 
> sending a patch testing for them and fixing them.
> 
> Also, I noticed that the test that :move should not close folds in 
> 'Test_move_folds_around_indent()' doesn't look at the case where folds 
> are open because the user opened them with :foldopen or with zo, instead 
> it checks for folds being open because of the value of 'foldlevel' (by 
> using zR).
> As folds opened because of the 'foldlevel' setting haven't been getting 
> closed after :move, but in recent versions of vim folds opened from zo 
> or :foldopen have been closing after :move, the patch attached changes 
> this test to look for folds opened because of :foldopen, and includes 
> the change to pass this test.

Thanks!

The change to ex_cmds.c was already included.

I wonder if this also fixes the strange test failure on MS-Windows...
Looks like it does, nice.  We can keep resetting 'shiftwidth', that's
better anyway.

-- 
hundred-and-one symptoms of being an internet addict:
133. You communicate with people on other continents more than you
     do with your own neighbors.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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

--- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui