mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
vim-patch:7.4.565
Problem: Ranges for arguments, buffers, tabs, etc. are not checked to be valid but limited to the maximum. This can cause the wrong thing to happen. Solution: Give an error for an invalid value. (Marcin Szamotulski) Use windows range for ":wincmd". https://code.google.com/p/vim/source/detail?r=v7-4-565
This commit is contained in:
@@ -2992,7 +2992,7 @@ return {
|
||||
{
|
||||
command='wincmd',
|
||||
flags=bit.bor(NEEDARG, WORD1, RANGE, NOTADR),
|
||||
addr_type=ADDR_LINES,
|
||||
addr_type=ADDR_WINDOWS,
|
||||
func='ex_wincmd',
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user