mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 17:55:41 +08:00
Fix doc about enable/disable guicolors (#1785)
This commit is contained in:
parent
36d138771b
commit
163ca7a141
12
README.md
12
README.md
@ -55,17 +55,21 @@ here is an example for using toml as SpaceVim config:
|
||||
# if you want to use more colorscheme, please load the colorscheme
|
||||
# layer
|
||||
colorscheme = "gruvbox"
|
||||
colorscheme_bg = "dark"
|
||||
background = "dark"
|
||||
# Disable guicolors in basic mode, many terminal do not support 24bit
|
||||
# true colors
|
||||
guicolors = true
|
||||
enable_guicolors = false
|
||||
# Disable statusline separator, if you want to use other value, please
|
||||
# install nerd fonts
|
||||
statusline_separator = "nil"
|
||||
statusline_separator = "bar"
|
||||
statusline_inactive_separator = "bar"
|
||||
buffer_index_type = 4
|
||||
filetype_icon = false
|
||||
windows_index_type = 3
|
||||
enable_tabline_filetype_icon = false
|
||||
enable_statusline_display_mode = false
|
||||
statusline_unicode_symbols = false
|
||||
# Enable vim compatible mode, avoid changing origin vim key bindings
|
||||
vimcompatible = true
|
||||
|
||||
# Enable autocomplete layer
|
||||
[[layers]]
|
||||
|
@ -274,7 +274,7 @@ SpaceVim 在终端下默认使用了真色,因此使用之前需要确认下
|
||||
如果你的终端不支持真色,可以在 SpaceVim 用户配置 `[options]` 中禁用真色支持:
|
||||
|
||||
```toml
|
||||
guicolors = false
|
||||
enable_guicolors = false
|
||||
```
|
||||
|
||||
### 字体
|
||||
@ -284,7 +284,7 @@ SpaceVim 在终端下默认使用了真色,因此使用之前需要确认下
|
||||
如果需要修改 SpaceVim 的字体,可以在用户配置文件中修改 `guifont`,默认值为:
|
||||
|
||||
```toml
|
||||
guifont = 'DejaVu\ Sans\ Mono\ for\ Powerline\ 11'
|
||||
guifont = "DejaVu\ Sans\ Mono\ for\ Powerline\ 11"
|
||||
```
|
||||
|
||||
如果指定的字体不存在,将会使用系统默认的字体,此外,这一选项在终端下是无效的,终端下修改字体,需要修改终端自身配置。
|
||||
|
@ -64,7 +64,7 @@ SpaceVim 的默认配置文件为 `~/.SpaceVim.d/init.toml`。下面为一简单
|
||||
# 启用/禁用终端真色,在目前大多数终端下都是支持真色的,当然也有
|
||||
# 一小部分终端不支持真色,如果你的 SpaceVim 颜色看上去比较怪异
|
||||
# 可以禁用终端真色,将下面的值设为 false
|
||||
guicolors = true
|
||||
enable_guicolors = true
|
||||
# 设置状态栏上分割符号形状,如果字体安装失败,可以将值设为 "nil" 以
|
||||
# 禁用分割符号,默认为箭头 "arrow"
|
||||
statusline_separator = "nil"
|
||||
|
@ -319,7 +319,7 @@ If your terminal do not supports true colors, you can disable SpaceVim true colo
|
||||
in `[options]` section:
|
||||
|
||||
```toml
|
||||
guicolors = false
|
||||
enable_guicolors = false
|
||||
```
|
||||
|
||||
### Font
|
||||
|
@ -62,7 +62,7 @@ documentation.
|
||||
colorscheme_bg = "dark"
|
||||
# Disable guicolors in basic mode, many terminal do not support 24bit
|
||||
# true colors, the type of the value is boolean, true or false.
|
||||
guicolors = true
|
||||
enable_guicolors = true
|
||||
# Disable statusline separator, if you want to use other value, please
|
||||
# install nerd fonts
|
||||
statusline_separator = "nil"
|
||||
|
@ -27,6 +27,7 @@
|
||||
statusline_unicode_symbols = false
|
||||
# Enable vim compatible mode, avoid changing origin vim key bindings
|
||||
vimcompatible = true
|
||||
|
||||
# Enable autocomplete layer
|
||||
[[layers]]
|
||||
name = 'autocomplete'
|
||||
|
Loading…
x
Reference in New Issue
Block a user