mirror of
https://github.com/preservim/nerdtree.git
synced 2025-02-01 03:57:31 +08:00
fix a bug when doing :NERDTreeMirror without 'hidden set
This commit is contained in:
parent
2f4d1b93e8
commit
3d2bf2d9ac
|
@ -952,6 +952,7 @@ The latest dev versions are on github
|
|||
|
||||
3.0.1
|
||||
- fix a bug where :NERDTreeToggle was broken unless 'hidden was set
|
||||
- fix a bug with :NERDTreeMirror when 'hidden wasnt set
|
||||
- make the q mapping work with secondary (:e <dir> style) nerd trees
|
||||
- more insane refactoring and doc updates
|
||||
|
||||
|
|
|
@ -2163,6 +2163,9 @@ function! s:initNerdTreeMirror()
|
|||
let t:NERDTreeBufName = bufferName
|
||||
call s:createTreeWin()
|
||||
exec 'buffer ' . bufferName
|
||||
if !&hidden
|
||||
call s:renderView()
|
||||
endif
|
||||
endfunction
|
||||
" FUNCTION: s:tabpagevar(tabnr, var) {{{2
|
||||
function! s:tabpagevar(tabnr, var)
|
||||
|
|
Loading…
Reference in New Issue
Block a user