Skip to content

Commit 4c1b475

Browse files
author
skywind3000
committed
update internal terminal hidden
1 parent 6e3b79a commit 4c1b475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/asyncrun.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: skywind3000 (at) gmail.com, 2016-2022
44
" Homepage: https://github.com/skywind3000/asyncrun.vim
55
"
6-
" Last Modified: 2022/11/13 01:40
6+
" Last Modified: 2022/11/13 01:42
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -1364,7 +1364,7 @@ function! s:terminal_init(opts)
13641364
let t = (str2nr(t))? 'hide' : 'wipe'
13651365
endif
13661366
endif
1367-
if t != '' || has_key(a:opts, 'hidden')
1367+
if has_key(a:opts, 'hidden') || t != ''
13681368
exec 'setlocal bufhidden=' . t
13691369
unsilent echom 't=' . t
13701370
endif

0 commit comments

Comments
 (0)