mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
only show bookmark if NERDTreeShowBookmarks is set
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user