作者:yangerzhou | 来源:互联网 | 2023-09-25 20:39
#AllSpaceVimoptionbelow[option]section[options]#setspacevimtheme.bydefaultcolorschemelayer
# All SpaceVim option below [option] section
[options]
# set spacevim theme. by default colorscheme layer is not loaded,
# if you want to use more colorscheme, please load the colorscheme
# layer
colorscheme = "gruvbox"
colorscheme_bg = "dark"
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors
enable_guicolors = true
# Disable statusline separator, if you want to use other value, please
# install nerd fonts
statusline_separator = "arrow"
statusline_inactive_separator = "arrow"
buffer_index_type = 4
enable_tabline_filetype_icon = true
enable_statusline_mode = false
enable_ycm = true
default_indent = 4
vim_help_language = "cn"
# Enable autocomplete layer
[[layers]]
name = "autocomplete"
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "smart"
[[layers]]
name = "shell"
default_position = "top"
default_height = 30
[[layers]]
name = "chinese"
[[layers]]
name = "lang#c"
enable_clang_syntax_highlight = true
clang_executable = "/usr/lib/llvm-k.0/bin/clang"
[layer.clang_std]
c = "c11"
cpp = "c++1z"
objc = "c11"
objcpp = "c++1z"
[[custom_plugins]]
name = "vim-scripts/DoxygenToolkit.vim"
[[layers]]
name = "lsp"
filetypes = [
"c",
"cpp"
]
[layers.override_cmd]
c = ["clangd"]
[[layers]]
name = "format"