I get the same behaviour. we get `-1` when it should be `0`. The original report was that it would return `-2` which was invalid by the spec. `-1` is just incorrect I think.
On Monday, October 26, 2020 at 1:25:12 AM UTC csh wrote: > @puremourning <https://github.com/puremourning> I use vim(patch 8.2.1987 > ubuntu20.10),and I use your test.vim, complete_info().selected is -1 when > 'menuone' is set and only 1 completion, would you mind test it again? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/vim/vim/issues/6945#issuecomment-716252749>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACY5DGBJVY6TNBOGPTZGVMDSMTFXDANCNFSM4RJ3PNMQ> > . > -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/3caf669f-8eec-422f-a51d-ca6d1ae6c380n%40googlegroups.com.
