diff --git a/lib/nerdtree/tree_file_node.vim b/lib/nerdtree/tree_file_node.vim index 86aa7a6..52b6193 100644 --- a/lib/nerdtree/tree_file_node.vim +++ b/lib/nerdtree/tree_file_node.vim @@ -180,7 +180,7 @@ function! s:TreeFileNode.GetSelected() endif return b:NERDTree.root.findNode(l:path) - catch /^NERDTree/ + catch return {} endtry endfunction