nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 0c0bde3106531cadeabb879ba3061021ba0192a8
parent 45f4d61f04e7ef33360f7735931da9ea2ebc05e0
Author: Greg Hurrell <greg@hurrell.net>
Date:   Thu, 18 May 2017 07:02:02 -0700

Update stale comments

@lifecrisis pointed out this stale comment here:

https://github.com/scrooloose/nerdtree/pull/578#issuecomment-302392831

Closes: #640
Diffstat:
Mautoload/nerdtree.vim | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/autoload/nerdtree.vim b/autoload/nerdtree.vim
@@ -89,7 +89,9 @@ function! nerdtree#deprecated(func, ...)
 endfunction
 
 " FUNCTION: nerdtree#exec(cmd) {{{2
-" same as :exec cmd  but eventignore=all is set for the duration
+" Same as :exec cmd but with eventignore set for the duration
+" to disable the autocommands used by NERDTree (BufEnter,
+" BufLeave and VimEnter)
 function! nerdtree#exec(cmd)
     let old_ei = &ei
     set ei=BufEnter,BufLeave,VimEnter