소스 검색

Allow trailing comment after Plug declaration (#23)

Junegunn Choi 11 년 전
부모
커밋
8dff1dae37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -92,7 +92,7 @@ function! plug#begin(...)
   " we want to keep track of the order plugins where registered.
   let g:plugs_order = []
 
-  command! -nargs=+ Plug        call s:add(1, <args>)
+  command! -nargs=+ -bar Plug   call s:add(1, <args>)
   command! -nargs=* PlugInstall call s:install(<f-args>)
   command! -nargs=* PlugUpdate  call s:update(<f-args>)
   command! -nargs=0 -bang PlugClean call s:clean('<bang>' == '!')