mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 11:17:20 +08:00
Use :mode instead of :redraw! when updating menu. (#1016)
* Use :mode instead of :redraw! when updating screen. In neovim, it will actually clear the whole screen, whereas, redraw! does not. * Update version number in change log.
This commit is contained in:
parent
89a1a4355b
commit
3b1a850b85
|
@ -1,6 +1,7 @@
|
|||
# Change Log
|
||||
|
||||
#### 5.2...
|
||||
- **.5**: Use `:mode` instead of `:redraw!` when updating menu. (PhilRunninger) #1016
|
||||
- **.4**: When searching for root line num, stop at end of file. (PhilRunninger) #1015
|
||||
- **.3**: Fix `<CR>` key map on the bookmark (lkebin) #1014
|
||||
- **.2**: Make Enter work on the `.. ( up a dir )` line (PhilRunninger) #1013
|
||||
|
|
|
@ -31,7 +31,7 @@ function! s:MenuController.showMenu()
|
|||
let l:done = 0
|
||||
|
||||
while !l:done
|
||||
redraw!
|
||||
mode
|
||||
call self._echoPrompt()
|
||||
|
||||
let l:key = nr2char(getchar())
|
||||
|
|
Loading…
Reference in New Issue
Block a user