File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -997,6 +997,10 @@ The latest dev versions are on github
997
997
==============================================================================
998
998
6. Changelog *NERDTreeChangelog*
999
999
1000
+ Next release:
1001
+ - fix a bug where secondary nerd trees (netrw hijacked trees) and
1002
+ NERDTreeQuitOnOpen didnt play nicely, thanks to Curtis Harvey.
1003
+
1000
1004
3.1.1
1001
1005
- fix a bug where a non-listed no-name buffer was getting created every
1002
1006
time the tree windows was created, thanks to Derek Wyatt and owen1
@@ -1087,6 +1091,7 @@ just downloaded pr0n instead.
1087
1091
Frederic Chanal (nach)
1088
1092
Alf Mikula
1089
1093
Lucas S. Buchala
1094
+ Curtis Harvey
1090
1095
1091
1096
==============================================================================
1092
1097
8. License *NERDTreeLicense*
Original file line number Diff line number Diff line change @@ -2344,7 +2344,7 @@ endfunction
2344
2344
" FUNCTION: s:closeTreeIfQuitOnOpen() {{{2
2345
2345
" Closes the NERD tree window if the close on open option is set
2346
2346
function ! s: closeTreeIfQuitOnOpen ()
2347
- if g: NERDTreeQuitOnOpen
2347
+ if g: NERDTreeQuitOnOpen && s: isTreeOpen ()
2348
2348
call s: closeTree ()
2349
2349
endif
2350
2350
endfunction
You can’t perform that action at this time.
0 commit comments