catch an error thrown when refreshing a dir with a FIFO or socket

This commit is contained in:
Martin Grenfell
2013-01-30 13:54:30 +00:00
parent 64cb6204cc
commit 40d05ace57

View File

@@ -422,7 +422,7 @@ function! s:TreeDirNode.refresh()
endif
catch /^NERDTree.InvalidArgumentsError/
catch /^NERDTree.\(InvalidArguments\|InvalidFiletype\)Error/
let invalidFilesFound = 1
endtry
endif