Skip to content

Commit 014e2e2

Browse files
author
skywind3000
committed
Update asyncrun.vim plugin version to 2.12.5 and fix terminal initialization issue.
1 parent 9c79e93 commit 014e2e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugin/asyncrun.vim

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: skywind3000 (at) gmail.com, 2016-2024
44
" Homepage: https://github.com/skywind3000/asyncrun.vim
55
"
6-
" Last Modified: 2024/02/20 21:17
6+
" Last Modified: 2024/03/23 00:49
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -1306,6 +1306,7 @@ function! s:terminal_init(opts)
13061306
let command = args
13071307
endif
13081308
endif
1309+
let g:asyncrun_term = 1
13091310
if has('nvim') == 0
13101311
if pos != 'hide'
13111312
let opts = {'curwin':1, 'norestore':1, 'term_finish':'open'}
@@ -1367,6 +1368,7 @@ function! s:terminal_init(opts)
13671368
let pid = (success)? jid : -1
13681369
let processid = (success)? jobpid(jid) : -1
13691370
endif
1371+
let g:asyncrun_term = 0
13701372
if success == 0
13711373
call s:ErrorMsg('Process creation failed')
13721374
return -1
@@ -2303,7 +2305,7 @@ endfunc
23032305
" asyncrun - version
23042306
"----------------------------------------------------------------------
23052307
function! asyncrun#version()
2306-
return '2.12.4'
2308+
return '2.12.5'
23072309
endfunc
23082310

23092311

0 commit comments

Comments
 (0)