Add -bar in the commands

This commit is contained in:
Shougo Matsushita 2015-12-19 08:47:56 +09:00
parent cfc99eedb5
commit 05c00bfd18
1 changed files with 6 additions and 4 deletions

View File

@ -68,19 +68,21 @@ augroup neosnippet "{{{
augroup END"}}}
" Commands. "{{{
command! -nargs=? -complete=customlist,neosnippet#commands#_edit_complete
command! -nargs=? -bar
\ -complete=customlist,neosnippet#commands#_edit_complete
\ NeoSnippetEdit
\ call neosnippet#commands#_edit(<q-args>)
command! -nargs=? -complete=customlist,neosnippet#commands#_filetype_complete
command! -nargs=? -bar
\ -complete=customlist,neosnippet#commands#_filetype_complete
\ NeoSnippetMakeCache
\ call neosnippet#commands#_make_cache(<q-args>)
command! -nargs=1 -complete=file
command! -nargs=1 -bar -complete=file
\ NeoSnippetSource
\ call neosnippet#commands#_source(<q-args>)
command! NeoSnippetClearMarkers
command! -bar NeoSnippetClearMarkers
\ call neosnippet#commands#_clear_markers()
"}}}