From 163ca7a141b6626b2853dfaa9c36a154530d985f Mon Sep 17 00:00:00 2001 From: Wang Shidong Date: Sun, 3 Jun 2018 20:38:01 +0800 Subject: [PATCH] Fix doc about enable/disable guicolors (#1785) --- README.md | 12 ++++++++---- docs/cn/documentation.md | 4 ++-- docs/cn/quick-start-guide.md | 2 +- docs/documentation.md | 2 +- docs/quick-start-guide.md | 2 +- mode/basic.toml | 1 + 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b84d0806c..4d5ea85bf 100644 --- a/README.md +++ b/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]] diff --git a/docs/cn/documentation.md b/docs/cn/documentation.md index c4b4dadb0..ce5f8c904 100644 --- a/docs/cn/documentation.md +++ b/docs/cn/documentation.md @@ -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" ``` 如果指定的字体不存在,将会使用系统默认的字体,此外,这一选项在终端下是无效的,终端下修改字体,需要修改终端自身配置。 diff --git a/docs/cn/quick-start-guide.md b/docs/cn/quick-start-guide.md index 19b0df658..b8e39d199 100644 --- a/docs/cn/quick-start-guide.md +++ b/docs/cn/quick-start-guide.md @@ -64,7 +64,7 @@ SpaceVim 的默认配置文件为 `~/.SpaceVim.d/init.toml`。下面为一简单 # 启用/禁用终端真色,在目前大多数终端下都是支持真色的,当然也有 # 一小部分终端不支持真色,如果你的 SpaceVim 颜色看上去比较怪异 # 可以禁用终端真色,将下面的值设为 false - guicolors = true + enable_guicolors = true # 设置状态栏上分割符号形状,如果字体安装失败,可以将值设为 "nil" 以 # 禁用分割符号,默认为箭头 "arrow" statusline_separator = "nil" diff --git a/docs/documentation.md b/docs/documentation.md index 4c1358b12..de60ee815 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -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 diff --git a/docs/quick-start-guide.md b/docs/quick-start-guide.md index 3c19adbaa..2fe177c3f 100644 --- a/docs/quick-start-guide.md +++ b/docs/quick-start-guide.md @@ -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" diff --git a/mode/basic.toml b/mode/basic.toml index 276f2848d..19f0012df 100644 --- a/mode/basic.toml +++ b/mode/basic.toml @@ -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'