Skip to content

Commit

Permalink
Add -bar in the commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Dec 18, 2015
1 parent cfc99ee commit 05c00bf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions plugin/neosnippet.vim
Expand Up @@ -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()
"}}}

Expand Down

0 comments on commit 05c00bf

Please sign in to comment.