diff options
Diffstat (limited to 'docs/zh-CN/advanced-config/README.md')
-rw-r--r-- | docs/zh-CN/advanced-config/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/zh-CN/advanced-config/README.md b/docs/zh-CN/advanced-config/README.md index 7d5738bbf..fc5a0020f 100644 --- a/docs/zh-CN/advanced-config/README.md +++ b/docs/zh-CN/advanced-config/README.md @@ -82,7 +82,7 @@ starship_precmd_user_func="set_win_title" `<color>` 是颜色说明符(下面解释)。 `fg:<color>` 和 `<color>` 当前产生一样的效果,尽管未来可能会改变。 字符串中的单词顺序不影响显示结果。 -`none` 标识符会覆盖字符串中所有其他标识符,比如 `fg:red none fg:blue` 将创建一个没有样式设置的字符串。 未来可能会将 `none` 与其它标识符一起使用视为一种错误。 +The `none` token overrides all other tokens in a string if it is not part of a `bg:` specifier, so that e.g. `fg:red none fg:blue` will still create a string with no styling. `bg:none` sets the background to the default color so `fg:red bg:none` is equivalent to `red` or `fg:red` and `bg:green fg:red bg:none` is also equivalent to `fg:red` or `red`. It may become an error to use `none` in conjunction with other tokens in the future. 颜色说明符可以是以下内容之一: |