Merge pull request #691 from wincent/patch-1

Update stale comments
This commit is contained in:
Phil Runninger 2017-05-18 12:33:11 -04:00 committed by GitHub
commit 23ba97d263

View File

@ -89,7 +89,9 @@ function! nerdtree#deprecated(func, ...)
endfunction endfunction
" FUNCTION: nerdtree#exec(cmd) {{{2 " 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) function! nerdtree#exec(cmd)
let old_ei = &ei let old_ei = &ei
set ei=BufEnter,BufLeave,VimEnter set ei=BufEnter,BufLeave,VimEnter