Skip to content

Commit aeedd1e

Browse files
author
skywind3000
committed
update 2.12.1
1 parent 95d963b commit aeedd1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin/asyncrun.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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
"----------------------------------------------------------------------
23022302
function! asyncrun#version()
2303-
return '2.12.0'
2303+
return '2.12.1'
23042304
endfunc
23052305

23062306

0 commit comments

Comments
 (0)