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 33" Maintainer: skywind3000 (at) gmail.com, 2016-2023
44" Homepage: https://github.com/skywind3000/asyncrun.vim
55"
6- " Last Modified: 2023/09/25 22:55
6+ " Last Modified: 2023/09/25 23:10
77"
88" Run shell command in background and output to quickfix:
99" :AsyncRun[!] [options] {cmd} ...
@@ -1876,15 +1876,15 @@ function! s:run(opts)
18761876 let t = s: StringStrip (l: command )
18771877
18781878 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\+'
18801880 let t = matchstr (t , ' ^:\s*\!\s*start\s*\/b\s\+\zs.*$' )
18811881 let t = s: StringStrip (t )
18821882 if t == ' '
18831883 return ' '
18841884 endif
18851885 let l: command = t
18861886 let l: mode = 5
1887- elseif t = ~ ' ^:\s*\!\s*start\s\+'
1887+ elseif s: asyncrun_windows && t = ~ ' ^:\s*\!\s*start\s\+'
18881888 let t = matchstr (t , ' ^:\s*\!\s*start\s\+\zs.*$' )
18891889 let t = s: StringStrip (t )
18901890 if t == ' '
@@ -2300,7 +2300,7 @@ endfunc
23002300" asyncrun - version
23012301" ----------------------------------------------------------------------
23022302function ! asyncrun#version ()
2303- return ' 2.12.0 '
2303+ return ' 2.12.1 '
23042304endfunc
23052305
23062306
You can’t perform that action at this time.
0 commit comments