add spacevim config
This commit is contained in:
parent
568b4fe8d3
commit
cb3a4dd9aa
97
init.toml
Normal file
97
init.toml
Normal file
@ -0,0 +1,97 @@
|
||||
#=============================================================================
|
||||
# dark_powered.toml --- dark powered configuration example for SpaceVim
|
||||
# Copyright (c) 2016-2022 Wang Shidong & Contributors
|
||||
# Author: Wang Shidong < wsdjeg@outlook.com >
|
||||
# URL: https://spacevim.org
|
||||
# License: GPLv3
|
||||
#=============================================================================
|
||||
|
||||
# All SpaceVim option below [option] section
|
||||
[colorschemeoptions]
|
||||
# set spacevim theme. by default colorscheme layer is not loaded,
|
||||
# if you want to use more colorscheme, please load the colorscheme
|
||||
# layer
|
||||
colorscheme = "SpaceVim"
|
||||
# Disable guicolors in basic mode, many terminal do not support 24bit
|
||||
colorscheme_bg = "light"
|
||||
# true colors
|
||||
enable_guicolors = true
|
||||
# Disable statusline separator, if you want to use other value, please
|
||||
# install nerd fonts
|
||||
|
||||
# Enable autocomplete layer
|
||||
[[layers]]
|
||||
name = 'autocomplete'
|
||||
auto_completion_return_key_behavior = "complete"
|
||||
auto_completion_tab_key_behavior = "smart"
|
||||
auto_completion_delay = 200
|
||||
auto_completion_complete_with_key_sequence = "nil"
|
||||
auto_completion_complete_with_key_sequence_delay = 0.1
|
||||
|
||||
[[layers]]
|
||||
name = "lang#python"
|
||||
|
||||
[[layers]]
|
||||
name = "format"
|
||||
|
||||
[[layers]]
|
||||
name = 'lang#c'
|
||||
enable_clang_syntax_highlight = true
|
||||
|
||||
[[layers]]
|
||||
name = "lsp"
|
||||
enabled_clients = ['clangd']
|
||||
filetypes = [
|
||||
"c",
|
||||
"cpp"
|
||||
]
|
||||
[layers.override_cmd]
|
||||
c = ["clangd"]
|
||||
|
||||
[[layers]]
|
||||
name = "ui"
|
||||
enable_scrollbar = true
|
||||
enable_sidebar = false
|
||||
|
||||
[[layers]]
|
||||
name = 'shell'
|
||||
default_position = 'top'
|
||||
default_height = 30
|
||||
|
||||
[[layers]]
|
||||
name = "incsearch"
|
||||
|
||||
[[layers]]
|
||||
name = "lang#markdown"
|
||||
|
||||
[[layers]]
|
||||
name = "git"
|
||||
git_plugin = 'fugitive'
|
||||
|
||||
[[layers]]
|
||||
name = "lang#cmake"
|
||||
|
||||
[[layers]]
|
||||
name = "lang#java"
|
||||
|
||||
[[layers]]
|
||||
name = "lang#python"
|
||||
|
||||
[[layers]]
|
||||
name = "colorscheme"
|
||||
|
||||
[[layers]]
|
||||
name = "gtags"
|
||||
gtagslabel = "pygments"
|
||||
|
||||
[options]
|
||||
# 文件树插件可选值包括:
|
||||
# - nerdtree (默认)
|
||||
# - vimfiler: 需要编译 vimproc.vim, 在目录 bundle/vimproc.vim 下
|
||||
# - defx: 需要 +py3 支持
|
||||
filemanager = "vimfiler"
|
||||
enable_filetree_gitstatus = true
|
||||
project_rooter_patterns = ['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/']
|
||||
filetree_direction = "left"
|
||||
colorscheme = "gruvbox"
|
||||
colorscheme_bg = "dark"
|
Reference in New Issue
Block a user