mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
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:
@@ -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',
|
||||
},
|
||||
|
Reference in New Issue
Block a user