only show bookmark if NERDTreeShowBookmarks is set

This commit is contained in:
Martin Grenfell 2008-06-28 21:22:29 +12:00
parent b59a7cd979
commit 201df0a782

View File

@ -2328,7 +2328,9 @@ function! s:RenderView()
call setline(line(".")+1, "") call setline(line(".")+1, "")
call cursor(line(".")+1, col(".")) call cursor(line(".")+1, col("."))
call s:RenderBookmarks() if g:NERDTreeShowBookmarks
call s:RenderBookmarks()
endif
"add the 'up a dir' line "add the 'up a dir' line
call setline(line(".")+1, s:tree_up_dir_line) call setline(line(".")+1, s:tree_up_dir_line)