File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ There can be some options before your `[cmd]`:
204
204
| ` -rows=num ` | 0 | When using a horizontal split terminal, this value represents the height of terminal window. |
205
205
| ` -cols=num ` | 0 | When using a vertical split terminal, this value represents the width of terminal window. |
206
206
| ` -focus=? ` | 1 | set to ` 0 ` to prevent focus changing when ` -mode=term ` |
207
- | ` -hidden=? ` | ` unset ` | set to ` 1 ` to init ` bufhidden ` to ` hide ` for internal terminal, set to ` 0 ` to init ` bufhidden ` to ` unload ` |
207
+ | ` -hidden=? ` | ` unset ` | set to ` 1 ` to init ` bufhidden ` to ` hide ` for internal terminal, set to ` 0 ` to init ` bufhidden ` to ` delete ` |
208
208
| ` -listed=? ` | 1 | when using ` -mode=term ` , set to 0 to hide the terminal in the buffer list |
209
209
| ` -close ` | ` unset ` | when using ` -mode=term ` , close the terminal automatically when terminal process is finished |
210
210
Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2022
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2022/11/13 00:38
6
+ " Last Modified: 2022/11/13 00:49
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1357,7 +1357,8 @@ function! s:terminal_init(opts)
1357
1357
endif
1358
1358
exec has (' nvim' )? ' startinsert' : ' '
1359
1359
if has_key (a: opts , ' hidden' )
1360
- exec ' setlocal bufhidden=' . (hidden ? ' hide' : ' unload' )
1360
+ let remove = get (g: , ' asyncrun_term_hide' , ' delete' )
1361
+ exec ' setlocal bufhidden=' . (hidden ? ' hide' : remove )
1361
1362
endif
1362
1363
if exists (' *win_getid' )
1363
1364
let info.winid = win_getid ()
@@ -2107,7 +2108,7 @@ endfunc
2107
2108
" asyncrun - version
2108
2109
" ----------------------------------------------------------------------
2109
2110
function ! asyncrun#version ()
2110
- return ' 2.11.0 '
2111
+ return ' 2.11.1 '
2111
2112
endfunc
2112
2113
2113
2114
You can’t perform that action at this time.
0 commit comments