Skip to content

Commit

Permalink
revert command completion mode from "shellcmd" back to "file" because…
Browse files Browse the repository at this point in the history
… of a regression that '%' will not be substituted when using "shellcmd": see #264
  • Loading branch information
skywind3000 committed Nov 3, 2022
1 parent b32d598 commit e74f19f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/asyncrun.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
" Maintainer: skywind3000 (at) gmail.com, 2016-2022
" Homepage: https://github.com/skywind3000/asyncrun.vim
"
" Last Modified: 2022/11/02 18:41
" Last Modified: 2022/11/03 11:05
"
" Run shell command in background and output to quickfix:
" :AsyncRun[!] [options] {cmd} ...
Expand Down Expand Up @@ -2107,7 +2107,7 @@ endfunc
" asyncrun - version
"----------------------------------------------------------------------
function! asyncrun#version()
return '2.10.8'
return '2.10.9'
endfunc


Expand All @@ -2131,7 +2131,7 @@ endfunc
"----------------------------------------------------------------------
" Commands
"----------------------------------------------------------------------
command! -bang -nargs=+ -range=0 -complete=shellcmd AsyncRun
command! -bang -nargs=+ -range=0 -complete=file AsyncRun
\ call asyncrun#run('<bang>', '', <q-args>, <count>, <line1>, <line2>)

command! -bar -bang -nargs=0 AsyncStop call asyncrun#stop('<bang>')
Expand Down

0 comments on commit e74f19f

Please sign in to comment.