diff --git a/lib/nerdtree/creator.vim b/lib/nerdtree/creator.vim index f6e857d..9775d31 100644 --- a/lib/nerdtree/creator.vim +++ b/lib/nerdtree/creator.vim @@ -201,7 +201,7 @@ endfunction "FUNCTION: s:Creator._isBufHidden(nr) {{{1 function! s:Creator._isBufHidden(nr) redir => bufs - ls! + silent ls! redir END return bufs =~ a:nr . '..h'