From 90d08dc626f0638cd079895a68ee0cf7f7e03d9a Mon Sep 17 00:00:00 2001 From: Jason Franklin Date: Thu, 21 Dec 2017 09:26:26 -0500 Subject: [PATCH] Add a debugging message --- autoload/nerdtree/ui_glue.vim | 5 +++++ 1 file changed, 5 insertions(+) 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)