Skip to content

Commit

Permalink
catch an error thrown when refreshing a dir with a FIFO or socket
Browse files Browse the repository at this point in the history
  • Loading branch information
scrooloose committed Jan 30, 2013
1 parent 64cb620 commit 40d05ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/nerdtree/tree_dir_node.vim
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ function! s:TreeDirNode.refresh()
endif


catch /^NERDTree.InvalidArgumentsError/
catch /^NERDTree.\(InvalidArguments\|InvalidFiletype\)Error/
let invalidFilesFound = 1
endtry
endif
Expand Down

1 comment on commit 40d05ac

@seven1m
Copy link

@seven1m seven1m commented on 40d05ac Mar 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you thank you thank you!

Please sign in to comment.