diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-25 19:42:55 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-26 10:21:39 -0400 |
commit | 33eb5833b2baefce3797f4544bc1567d0c23c9e7 (patch) | |
tree | a3a2d93276ec480f10d14d1a7cd1057c4cbda93b /src/nvim/ex_cmds.lua | |
parent | bfe029a11deaa923980400bcfc3e043136474759 (diff) | |
download | rneovim-33eb5833b2baefce3797f4544bc1567d0c23c9e7.tar.gz rneovim-33eb5833b2baefce3797f4544bc1567d0c23c9e7.tar.bz2 rneovim-33eb5833b2baefce3797f4544bc1567d0c23c9e7.zip |
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)
https://github.com/vim/vim/commit/9c4fefffb65a2ed9b4a5b0f1bde0da8f349470b5
Diffstat (limited to 'src/nvim/ex_cmds.lua')
-rw-r--r-- | src/nvim/ex_cmds.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 31776a70e7..df1aa938ed 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -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', }, |