Skip to content

Commit

Permalink
update internal terminal hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
skywind3000 committed Nov 12, 2022
1 parent 6e3b79a commit 4c1b475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 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-2022
" Homepage: https://github.com/skywind3000/asyncrun.vim
"
" Last Modified: 2022/11/13 01:40
" Last Modified: 2022/11/13 01:42
"
" Run shell command in background and output to quickfix:
" :AsyncRun[!] [options] {cmd} ...
Expand Down Expand Up @@ -1364,7 +1364,7 @@ function! s:terminal_init(opts)
let t = (str2nr(t))? 'hide' : 'wipe'
endif
endif
if t != '' || has_key(a:opts, 'hidden')
if has_key(a:opts, 'hidden') || t != ''
exec 'setlocal bufhidden=' . t
unsilent echom 't=' . t
endif
Expand Down

0 comments on commit 4c1b475

Please sign in to comment.