From 05c00bfd180df437f5bdcab8482002ab65861cdf Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sat, 19 Dec 2015 08:47:56 +0900 Subject: [PATCH] Add -bar in the commands --- plugin/neosnippet.vim | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugin/neosnippet.vim b/plugin/neosnippet.vim index 9d5874e..4719c7a 100644 --- a/plugin/neosnippet.vim +++ b/plugin/neosnippet.vim @@ -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() -command! -nargs=? -complete=customlist,neosnippet#commands#_filetype_complete +command! -nargs=? -bar + \ -complete=customlist,neosnippet#commands#_filetype_complete \ NeoSnippetMakeCache \ call neosnippet#commands#_make_cache() -command! -nargs=1 -complete=file +command! -nargs=1 -bar -complete=file \ NeoSnippetSource \ call neosnippet#commands#_source() -command! NeoSnippetClearMarkers +command! -bar NeoSnippetClearMarkers \ call neosnippet#commands#_clear_markers() "}}}