Skip to content

Commit 353e29e

Browse files
author
skywind3000
committed
commit new asyncrun.vim
1 parent a3e0776 commit 353e29e

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

plugin/asyncrun.vim

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: skywind3000 (at) gmail.com, 2016, 2017, 2018, 2019, 2020
44
" Homepage: http://www.vim.org/scripts/script.php?script_id=5431
55
"
6-
" Last Modified: 2020/03/09 15:50
6+
" Last Modified: 2020/03/09 16:39
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -1349,11 +1349,6 @@ function! s:run(opts)
13491349
if type(l:mode) == type('') && l:mode == 'raw'
13501350
let l:mode = 0
13511351
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
13571352
elseif type(l:mode) == 0 && l:mode == 6
13581353
let pos = get(l:opts, 'pos', '')
13591354
if has_key(g:asyncrun_runner, pos)
@@ -1368,11 +1363,6 @@ function! s:run(opts)
13681363
let l:mode = 0
13691364
let l:opts.raw = 1
13701365
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
13761366
endif
13771367

13781368
" process makeprg/grepprg in -program=?
@@ -1831,7 +1821,7 @@ endfunc
18311821
" asyncrun - version
18321822
"----------------------------------------------------------------------
18331823
function! asyncrun#version()
1834-
return '2.6.4'
1824+
return '2.6.5'
18351825
endfunc
18361826

18371827

0 commit comments

Comments
 (0)