mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
add -bar to all :commands
This commit is contained in:
@@ -149,11 +149,11 @@ let s:next_buffer_number = 1
|
||||
" SECTION: Commands {{{1
|
||||
"============================================================
|
||||
"init the command that users start the nerd tree with
|
||||
command! -n=? -complete=dir NERDTree :call s:initNerdTree('<args>')
|
||||
command! -n=? -complete=dir NERDTreeToggle :call s:toggle('<args>')
|
||||
command! -n=0 NERDTreeClose :call s:closeTreeIfOpen()
|
||||
command! -n=1 -complete=customlist,s:completeBookmarks NERDTreeFromBookmark call s:initNerdTree('<args>')
|
||||
command! -n=0 -complete=customlist,s:completeNERDTreeMirrors NERDTreeMirror call s:initNerdTreeMirror()
|
||||
command! -n=? -complete=dir -bar NERDTree :call s:initNerdTree('<args>')
|
||||
command! -n=? -complete=dir -bar NERDTreeToggle :call s:toggle('<args>')
|
||||
command! -n=0 -bar NERDTreeClose :call s:closeTreeIfOpen()
|
||||
command! -n=1 -complete=customlist,s:completeBookmarks -bar NERDTreeFromBookmark call s:initNerdTree('<args>')
|
||||
command! -n=0 -complete=customlist,s:completeNERDTreeMirrors -bar NERDTreeMirror call s:initNerdTreeMirror()
|
||||
" SECTION: Auto commands {{{1
|
||||
"============================================================
|
||||
augroup NERDTree
|
||||
|
||||
Reference in New Issue
Block a user