File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2024
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2024/05/14 03:50
6
+ " Last Modified: 2024/05/22 00:41
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -758,8 +758,11 @@ function! s:AsyncRun_Job_Start(cmd)
758
758
let l: args += [a: cmd ]
759
759
else
760
760
let l: tmp = s: ScriptWrite (a: cmd , 0 )
761
+ let l: args = [' cmd.exe' , ' /c' ]
761
762
if s: async_nvim == 0
762
763
let l: args += [l: tmp ]
764
+ elseif has (' nvim-0.9.0' )
765
+ let l: args += [l: tmp ]
763
766
else
764
767
let l: args = s: shellescape (l: tmp )
765
768
endif
@@ -2305,7 +2308,7 @@ endfunc
2305
2308
" asyncrun - version
2306
2309
" ----------------------------------------------------------------------
2307
2310
function ! asyncrun#version ()
2308
- return ' 2.12.6 '
2311
+ return ' 2.12.7 '
2309
2312
endfunc
2310
2313
2311
2314
You can’t perform that action at this time.
0 commit comments