On Thu 8 Jan 2015 at 03:06:45PM -0800, Amadeus Demarzi wrote: > Using vim with patches 1-567 I get a range error when calling wincmd in > certain contexts: > > vim -u NONE > :split > :wincmd+ # works as expected > :2wincmd+ # also works as expected > :3wincmd+ # throws the error: Invalid Range > > In fact, any value above 2 seems to throw this error.
I think that patch 7.4.565 is the problem: it adds a bounds check to
wincmd (and others), but seems to set the upper bound to the argument
list count instead of the maximum buffer number.
Just a guess; I was planning on looking into it tonight.
guns
--
--
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.
pgpr7OrFa7NH2.pgp
Description: PGP signature
