Skip to content

Commit

Permalink
Update asyncrun.vim plugin version to 2.12.5 and fix terminal initial…
Browse files Browse the repository at this point in the history
…ization issue.
  • Loading branch information
skywind3000 committed Mar 22, 2024
1 parent 9c79e93 commit 014e2e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugin/asyncrun.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
" Maintainer: skywind3000 (at) gmail.com, 2016-2024
" Homepage: https://github.com/skywind3000/asyncrun.vim
"
" Last Modified: 2024/02/20 21:17
" Last Modified: 2024/03/23 00:49
"
" Run shell command in background and output to quickfix:
" :AsyncRun[!] [options] {cmd} ...
Expand Down Expand Up @@ -1306,6 +1306,7 @@ function! s:terminal_init(opts)
let command = args
endif
endif
let g:asyncrun_term = 1
if has('nvim') == 0
if pos != 'hide'
let opts = {'curwin':1, 'norestore':1, 'term_finish':'open'}
Expand Down Expand Up @@ -1367,6 +1368,7 @@ function! s:terminal_init(opts)
let pid = (success)? jid : -1
let processid = (success)? jobpid(jid) : -1
endif
let g:asyncrun_term = 0
if success == 0
call s:ErrorMsg('Process creation failed')
return -1
Expand Down Expand Up @@ -2303,7 +2305,7 @@ endfunc
" asyncrun - version
"----------------------------------------------------------------------
function! asyncrun#version()
return '2.12.4'
return '2.12.5'
endfunc


Expand Down

0 comments on commit 014e2e2

Please sign in to comment.