File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-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/22 00:55
6
+ " Last Modified: 2024/05/23 01:31
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -843,7 +843,14 @@ function! s:AsyncRun_Job_Start(cmd)
843
843
let l: callbacks .stdin = ' null'
844
844
endif
845
845
endif
846
+ let l: slash = &shellslash
847
+ if l: slash
848
+ set noshellslash
849
+ endif
846
850
let s: async_job = jobstart (l: args , l: callbacks )
851
+ if l: slash
852
+ set shellslash
853
+ endif
847
854
let l: success = (s: async_job > 0 )? 1 : 0
848
855
if l: success != 0
849
856
if s: async_info .range > 0
@@ -2308,7 +2315,7 @@ endfunc
2308
2315
" asyncrun - version
2309
2316
" ----------------------------------------------------------------------
2310
2317
function ! asyncrun#version ()
2311
- return ' 2.12.8 '
2318
+ return ' 2.12.9 '
2312
2319
endfunc
2313
2320
2314
2321
You can’t perform that action at this time.
0 commit comments