vim-patch:7.4.580

Problem:    ":52wincmd v" still gives an invalid range error. (Charles
            Campbell)
Solution:   Skip over white space.

https://code.google.com/p/vim/source/detail?name=v7-4-580
This commit is contained in:
Felipe Morales 2015-04-19 20:14:01 -03:00
parent e01ebf245e
commit 838c9aa31d
2 changed files with 3 additions and 3 deletions

View File

@ -1518,8 +1518,8 @@ static char_u * do_one_cmd(char_u **cmdlinep,
ea.addr_type = ADDR_LINES; ea.addr_type = ADDR_LINES;
} }
// :wincmd range depends on the argument // :wincmd range depends on the argument
if (ea.cmdidx == CMD_wincmd) { if (ea.cmdidx == CMD_wincmd && p != NULL) {
get_wincmd_addr_type(p, &ea); get_wincmd_addr_type(skipwhite(p), &ea);
} }
} }

View File

@ -199,7 +199,7 @@ static int included_patches[] = {
//583 NA //583 NA
//582, //582,
//581, //581,
//580, 580,
//579, //579,
578, 578,
//577, //577,