Skip to content

Commit 6d4b12c

Browse files
author
skywind3000
committed
update docs
1 parent be8bdd1 commit 6d4b12c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README-cn.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
| `-cols=num` | 0 | 内置终端窗口的宽度。|
175175
| `-errorformat=?` | `未设置` | 用于 quickfix 中匹配错误输出的格式字符串,如果未提供,则使用当前 `&errorformat` 的值。注意 `%` 需要转写成 `\%`|
176176
| `-focus=?` | 1 | 设置成 `0` 可以防止使用内置终端时窗口焦点切换。 |
177+
| `-hidden=?` | 0 | 设置成 `1` 可以将内置终端的 `bufhidden` 初始化为 `hide` |
177178

178179
所有的这些配置参数都必须放在具体 shell 命令 **前面**,因为没有任何 shell 命令使用 `-` 开头,因此很容易区分哪里是命令的开始。如果你确实有一条 shell 命令是减号开头的,那么为了明显区别参数和命令,可以在命令前面放一个 `@` 符号,那么 AsyncRun 在解析参数时碰到 `@` 就知道参数结束了,后面都是命令。
179180

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ There can be some options before your `[cmd]`:
174174
| `-cols=num` | 0 | When using a vertical split terminal, this value represents the width of terminal window. |
175175
| `-errorformat=?` | `unset` | errorformat for error matching, if it is unprovided, use current `&errorformat` value. Beware that `%` needs to be escaped into `\%`. |
176176
| `-focus=?` | 1 | set to `0` to prevent focus changing when working with a split temrinal |
177+
| `-hidden=?` | 0 | set to `1` to setup `bufhidden` to `hide` for internal terminal |
177178

178179
All options must start with a minus and position **before** `[cmd]`. Since no shell command string starts with a minus. So they can be distinguished from shell command easily without any ambiguity.
179180

0 commit comments

Comments
 (0)