mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
e01ebf245e
commit
838c9aa31d
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ static int included_patches[] = {
|
|||||||
//583 NA
|
//583 NA
|
||||||
//582,
|
//582,
|
||||||
//581,
|
//581,
|
||||||
//580,
|
580,
|
||||||
//579,
|
//579,
|
||||||
578,
|
578,
|
||||||
//577,
|
//577,
|
||||||
|
Loading…
Reference in New Issue
Block a user