Make connect commands buffer local

This commit is contained in:
Tim Pope 2014-06-29 19:03:49 -04:00
parent 5ff2eeae1c
commit 6dbf627022
1 changed files with 4 additions and 2 deletions

View File

@ -378,8 +378,10 @@ endfunction
augroup fireplace_connect
autocmd!
autocmd FileType clojure command! -bar -complete=customlist,s:connect_complete -nargs=* Connect :FireplaceConnect <args>
autocmd FileType clojure command! -complete=customlist,fireplace#eval_complete -bang -nargs=* Piggieback :call s:piggieback(<q-args>, <bang>0)
autocmd FileType clojure command! -buffer -bar -complete=customlist,s:connect_complete -nargs=*
\ Connect FireplaceConnect <args>
autocmd FileType clojure command! -buffer -bang -complete=customlist,fireplace#eval_complete -nargs=*
\ Piggieback call s:piggieback(<q-args>, <bang>0)
augroup END
" Section: Java runner