nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 201df0a782b8cf42901e62a36450671076a2e520
parent b59a7cd979fd05d17ecf7fb991005c2bd8eeba2f
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Sat, 28 Jun 2008 21:22:29 +1200

only show bookmark if NERDTreeShowBookmarks is set

Diffstat:
Mplugin/NERD_tree.vim | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -2328,7 +2328,9 @@ function! s:RenderView()
     call setline(line(".")+1, "")
     call cursor(line(".")+1, col("."))
 
-    call s:RenderBookmarks()
+    if g:NERDTreeShowBookmarks
+        call s:RenderBookmarks()
+    endif
 
     "add the 'up a dir' line
     call setline(line(".")+1, s:tree_up_dir_line)