Hi Naruhiko,

2016-8-7(Sun) 1:39:43 UTC+9 Naruhiko Nishino:
> Hi Bram,
> 
> 
> Adding duplicated flags to 'whichwrap' that has P_FLAGLIST and P_ONECOMMA,
> the duplicated value is removed. But the next comma remains.
> I fixed this.
> 
> 
> 
> 
> 
> 
> present behavior:
> 
> 
> > set whichwrap=b,s
> > echo &whichwrap
> > " b,s
> > 
> > set whichwrap+=h,l
> > echo &whichwrap
> > " b,s,h,l
> > 
> > set whichwrap+=h,l
> > echo &whichwrap
> > " b,s,,,h,l
> > 
> > set whichwrap+=h,l
> > echo &whichwrap
> > " b,s,,,,,h,l
> 
> 
> 
> 
> 
> 
> behavior after fixed it:
> 
> 
> > set whichwrap=b,s
> > echo &whichwrap
> > " b,s
> > 
> > set whichwrap+=h,l
> > echo &whichwrap
> > " b,s,h,l
> > 
> > set whichwrap+=h,l
> > echo &whichwrap
> > " b,s,h,l
> > 
> > set whichwrap+=h,l
> > echo &whichwrap
> > " b,s,h,l

I checked your patch.

At the end of Test_whichwrap function, `whichwrap` option is better to set the 
default value like below.

set whichwrap&

And it would be better to convert from `test_options.{in,ok}` to new style test.

Thanks.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)

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

Raspunde prin e-mail lui