vim-patch:8.0.0688: cannot resize the window in a FileType autocommand

Problem:    Cannot resize the window in a FileType autocommand. (Ingo Karkat)
Solution:   Add the CMDWIN flag to :resize. (test by Ingo Karkat,
            closes vim/vim#1804)
9c4fefffb6
This commit is contained in:
Jan Edmund Lazo
2018-06-25 19:42:55 -04:00
parent bfe029a11d
commit 33eb5833b2
3 changed files with 33 additions and 14 deletions

View File

@@ -2158,7 +2158,7 @@ return {
},
{
command='resize',
flags=bit.bor(RANGE, NOTADR, TRLBAR, WORD1),
flags=bit.bor(RANGE, NOTADR, TRLBAR, WORD1, CMDWIN),
addr_type=ADDR_LINES,
func='ex_resize',
},