diff --git a/autoload/nerdtree/ui_glue.vim b/autoload/nerdtree/ui_glue.vim index 910ead3..894a88a 100644 --- a/autoload/nerdtree/ui_glue.vim +++ b/autoload/nerdtree/ui_glue.vim @@ -304,6 +304,11 @@ function! s:findAndRevealPath(path) endif let l:node = b:NERDTree.root.reveal(l:pathObj) + + if empty(l:node) + echomsg 'l:node is totally empty...' + endif + call b:NERDTree.render() call l:node.putCursorHere(1, 0)