File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2023
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2023/09/25 22:55
6
+ " Last Modified: 2023/09/25 23:10
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1876,15 +1876,15 @@ function! s:run(opts)
1876
1876
let t = s: StringStrip (l: command )
1877
1877
1878
1878
if strpart (t , 0 , 1 ) == ' :' && g: asyncrun_strict == 0
1879
- if t = ~ ' ^:\s*\!\s*start\s*\/b\s\+'
1879
+ if s: asyncrun_windows && t = ~ ' ^:\s*\!\s*start\s*\/b\s\+'
1880
1880
let t = matchstr (t , ' ^:\s*\!\s*start\s*\/b\s\+\zs.*$' )
1881
1881
let t = s: StringStrip (t )
1882
1882
if t == ' '
1883
1883
return ' '
1884
1884
endif
1885
1885
let l: command = t
1886
1886
let l: mode = 5
1887
- elseif t = ~ ' ^:\s*\!\s*start\s\+'
1887
+ elseif s: asyncrun_windows && t = ~ ' ^:\s*\!\s*start\s\+'
1888
1888
let t = matchstr (t , ' ^:\s*\!\s*start\s\+\zs.*$' )
1889
1889
let t = s: StringStrip (t )
1890
1890
if t == ' '
@@ -2300,7 +2300,7 @@ endfunc
2300
2300
" asyncrun - version
2301
2301
" ----------------------------------------------------------------------
2302
2302
function ! asyncrun#version ()
2303
- return ' 2.12.0 '
2303
+ return ' 2.12.1 '
2304
2304
endfunc
2305
2305
2306
2306
You can’t perform that action at this time.
0 commit comments