mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
catch an error thrown when refreshing a dir with a FIFO or socket
This commit is contained in:
@@ -422,7 +422,7 @@ function! s:TreeDirNode.refresh()
|
||||
endif
|
||||
|
||||
|
||||
catch /^NERDTree.InvalidArgumentsError/
|
||||
catch /^NERDTree.\(InvalidArguments\|InvalidFiletype\)Error/
|
||||
let invalidFilesFound = 1
|
||||
endtry
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user