Skip to content

Commit 37bfae0

Browse files
committed
rename press for help and bmark label options
1 parent 9e415dc commit 37bfae0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plugin/NERD_tree.vim

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ call s:initVariable("g:NERDTreeAutoCenter", 1)
5151
call s:initVariable("g:NERDTreeAutoCenterThreshold", 3)
5252
call s:initVariable("g:NERDTreeCaseSensitiveSort", 0)
5353
call s:initVariable("g:NERDTreeChDirMode", 0)
54-
call s:initVariable("g:NERDTreeShowPressForHelp", 1)
55-
call s:initVariable("g:NERDTreeShowBookmarksLabel", 1)
54+
call s:initVariable("g:NERDTreePressHelp", 1)
55+
call s:initVariable("g:NERDTreeBmarksLabel", 1)
5656
if !exists("g:NERDTreeIgnore")
5757
let g:NERDTreeIgnore = ['\~$']
5858
endif
@@ -2999,7 +2999,7 @@ function! s:dumpHelp()
29992999
let @h=@h."\" :ClearBookmarks [<names>]\n"
30003000
let @h=@h."\" :ClearAllBookmarks\n"
30013001
silent! put h
3002-
elseif g:NERDTreeShowPressForHelp == 1
3002+
elseif g:NERDTreePressHelp == 1
30033003
let @h="\" Press ". g:NERDTreeMapHelp ." for help\n"
30043004
silent! put h
30053005
endif
@@ -3242,7 +3242,7 @@ endfunction
32423242
"FUNCTION: s:renderBookmarks {{{2
32433243
function! s:renderBookmarks()
32443244

3245-
if g:NERDTreeShowBookmarksLabel == 1
3245+
if g:NERDTreeBmarksLabel == 1
32463246
call setline(line(".")+1, ">----------Bookmarks----------")
32473247
call cursor(line(".")+1, col("."))
32483248
endif
@@ -3272,7 +3272,7 @@ function! s:renderView()
32723272
call s:dumpHelp()
32733273

32743274
"delete the blank line before the help and add one after it
3275-
if g:NERDTreeShowPressForHelp == 1
3275+
if g:NERDTreePressHelp == 1
32763276
call setline(line(".")+1, "")
32773277
call cursor(line(".")+1, col("."))
32783278
endif

0 commit comments

Comments
 (0)