File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2024
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2024/02/20 21:17
6
+ " Last Modified: 2024/03/23 00:49
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1306,6 +1306,7 @@ function! s:terminal_init(opts)
1306
1306
let command = args
1307
1307
endif
1308
1308
endif
1309
+ let g: asyncrun_term = 1
1309
1310
if has (' nvim' ) == 0
1310
1311
if pos != ' hide'
1311
1312
let opts = {' curwin' :1 , ' norestore' :1 , ' term_finish' :' open' }
@@ -1367,6 +1368,7 @@ function! s:terminal_init(opts)
1367
1368
let pid = (success)? jid : -1
1368
1369
let processid = (success)? jobpid (jid) : -1
1369
1370
endif
1371
+ let g: asyncrun_term = 0
1370
1372
if success == 0
1371
1373
call s: ErrorMsg (' Process creation failed' )
1372
1374
return -1
@@ -2303,7 +2305,7 @@ endfunc
2303
2305
" asyncrun - version
2304
2306
" ----------------------------------------------------------------------
2305
2307
function ! asyncrun#version ()
2306
- return ' 2.12.4 '
2308
+ return ' 2.12.5 '
2307
2309
endfunc
2308
2310
2309
2311
You can’t perform that action at this time.
0 commit comments