Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #95 from xndcn/xndcn-patch
Browse files Browse the repository at this point in the history
Fix g:nerdtree_tabs_autofind=1 not working #94
  • Loading branch information
jistr committed Dec 21, 2018
2 parents 5fc6c68 + 84378a9 commit 07d19f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nerdtree_plugin/vim-nerdtree-tabs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ fun! s:NERDTreeOpenAllTabs()
let l:current_tab = tabpagenr()
tabdo call s:NERDTreeMirrorOrCreate()
exe 'tabn ' . l:current_tab
if g:nerdtree_tabs_autofind
call s:NERDTreeUnfocus()
call s:NERDTreeFindFile()
endif
endfun

" }}}
Expand Down

0 comments on commit 07d19f0

Please sign in to comment.