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:
Felipe Morales
2015-01-20 00:28:37 -03:00
parent d2ad709a1e
commit ca883df007
9 changed files with 122 additions and 53 deletions

View File

@@ -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',
},
{