Skip to content

Commit cf4d110

Browse files
author
skywind3000
committed
update asyncrun.vim
1 parent 15d5d0e commit cf4d110

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

plugin/asyncrun.vim

Lines changed: 4 additions & 3 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/20 09:47
6+
" Last Modified: 2023/09/22 14:44
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -1369,7 +1369,8 @@ function! s:terminal_init(opts)
13691369
let b:asyncrun_cmd = a:opts.cmd
13701370
let b:asyncrun_name = get(a:opts, 'name', '')
13711371
let b:asyncrun_bid = bid
1372-
if get(a:opts, 'listed', 1) == 0
1372+
let listed = get(g:, 'asyncrun_term_listed', 1)
1373+
if get(a:opts, 'listed', listed) == 0
13731374
setlocal nobuflisted
13741375
endif
13751376
let hidden = get(g:, 'asyncrun_term_hidden', '')
@@ -2281,7 +2282,7 @@ endfunc
22812282
" asyncrun - version
22822283
"----------------------------------------------------------------------
22832284
function! asyncrun#version()
2284-
return '2.11.23'
2285+
return '2.11.24'
22852286
endfunc
22862287

22872288

0 commit comments

Comments
 (0)