3
3
" Maintainer: skywind3000 (at) gmail.com, 2016, 2017, 2018, 2019, 2020
4
4
" Homepage: http://www.vim.org/scripts/script.php?script_id=5431
5
5
"
6
- " Last Modified: 2020/03/09 15:50
6
+ " Last Modified: 2020/03/09 16:39
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1349,11 +1349,6 @@ function! s:run(opts)
1349
1349
if type (l: mode ) == type (' ' ) && l: mode == ' raw'
1350
1350
let l: mode = 0
1351
1351
let l: opts .raw = 1
1352
- elseif type (l: mode ) == type (' ' ) && l: mode = ~ ' ^<.*>$'
1353
- let name = strpart (l: mode , 1 , strlen (l: mode ) - 2 )
1354
- if has_key (g: asyncrun_runner , name)
1355
- let l: runner = name
1356
- endif
1357
1352
elseif type (l: mode ) == 0 && l: mode == 6
1358
1353
let pos = get (l: opts , ' pos' , ' ' )
1359
1354
if has_key (g: asyncrun_runner , pos)
@@ -1368,11 +1363,6 @@ function! s:run(opts)
1368
1363
let l: mode = 0
1369
1364
let l: opts .raw = 1
1370
1365
endif
1371
- elseif has_key (l: opts , ' pos' )
1372
- let pos = get (l: opts , ' pos' , ' ' )
1373
- if has_key (g: asyncrun_runner , pos)
1374
- let l: runner = pos
1375
- endif
1376
1366
endif
1377
1367
1378
1368
" process makeprg/grepprg in -program=?
@@ -1831,7 +1821,7 @@ endfunc
1831
1821
" asyncrun - version
1832
1822
" ----------------------------------------------------------------------
1833
1823
function ! asyncrun#version ()
1834
- return ' 2.6.4 '
1824
+ return ' 2.6.5 '
1835
1825
endfunc
1836
1826
1837
1827
0 commit comments