From bf217c75f9cd2207fb42b1f397cf4b98a6c9b616 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Mon, 16 Nov 2015 11:29:54 +0000 Subject: [PATCH] fix a couple of var references in UI --- lib/nerdtree/ui.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nerdtree/ui.vim b/lib/nerdtree/ui.vim index 40c014e..0d73119 100644 --- a/lib/nerdtree/ui.vim +++ b/lib/nerdtree/ui.vim @@ -27,12 +27,12 @@ function! s:UI._dumpHelp() let @h=@h."\" File node mappings~\n" let @h=@h."\" ". (g:NERDTreeMouseMode ==# 3 ? "single" : "double") ."-click,\n" let @h=@h."\" ,\n" - if b:NERDTree.isTabTree() + if self.nerdtree.isTabTree() let @h=@h."\" ". g:NERDTreeMapActivateNode .": open in prev window\n" else let @h=@h."\" ". g:NERDTreeMapActivateNode .": open in current window\n" endif - if b:NERDTree.isTabTree() + if self.nerdtree.isTabTree() let @h=@h."\" ". g:NERDTreeMapPreview .": preview\n" endif let @h=@h."\" ". g:NERDTreeMapOpenInTab.": open in new tab\n"