mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 09:30:14 +08:00
Moved resize call to restoreOptions
This commit is contained in:
parent
74470e93e0
commit
1b8b61c12a
|
@ -46,7 +46,7 @@ function! s:MenuController.showMenu()
|
|||
|
||||
" Redraw when Ctrl-C or Esc is received.
|
||||
if !l:done || self.selection ==# -1
|
||||
redraw! | resize
|
||||
redraw!
|
||||
endif
|
||||
endtry
|
||||
|
||||
|
@ -172,6 +172,7 @@ endfunction
|
|||
function! s:MenuController._restoreOptions()
|
||||
let &cmdheight = self._oldCmdheight
|
||||
let &lazyredraw = self._oldLazyredraw
|
||||
resize
|
||||
endfunction
|
||||
|
||||
"FUNCTION: MenuController._cursorDown() {{{1
|
||||
|
|
Loading…
Reference in New Issue
Block a user