From 2f8a72144fe1e96804f000b6cf9bf9c4057e5ddd Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Fri, 27 Nov 2015 10:14:45 +0000 Subject: [PATCH] silence an `ls!` call --- lib/nerdtree/creator.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'