修改spacevim配置

This commit is contained in:
LingZhaoHui 2023-09-25 23:37:01 +08:00
parent f85d5d03f1
commit 0e6b00103d
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC
2 changed files with 1 additions and 25 deletions

View File

@ -1,19 +1,9 @@
function! myspacevim#before() abort
set timeoutlen=120
set cc=110
set textwidth=110
set formatoptions+=t
au BufRead,BufNewFile *.md setlocal textwidth=110 formatoptions+=t
set sw=2
set mouse=
endfunction
function! myspacevim#after() abort
set timeoutlen=150
set cc=110
set textwidth=110
set formatoptions+=t
au BufRead,BufNewFile * setlocal textwidth=110 formatoptions+=t
set sw=2
endfunction

View File

@ -76,11 +76,9 @@
[[custom_plugins]]
name = 'dhruvasagar/vim-table-mode'
# 为 c/cpp 提供基于 lsp 的高亮
[[custom_plugins]]
name = 'jackguo380/vim-lsp-cxx-highlight'
[options]
# 文件树插件可选值包括:
# - nerdtree (默认)
@ -89,25 +87,13 @@
filemanager = "vimfiler"
enable_filetree_gitstatus = false
project_rooter_patterns = ['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/']
vimcompatible = true
filetree_direction = "left"
# colorscheme = "SpaceVim"
colorscheme = "material"
# colorscheme = "gruvbox"
# colorscheme = "hybrid"
# colorscheme = "NeoSolarized"
colorscheme = "onehalflight"
colorscheme_bg = "light"
# colorscheme_bg = "dark"
enable_guicolors = true
bootstrap_before = "myspacevim#before"
bootstrap_after = "myspacevim#after"
statusline_separator="nil"
statusline_iseparator="bar"
enable_vimfiler_welcome=false
autocomplete_method="deoplete"
snippet_engine = "neosnippet"
relativenumber = false
disabled_plugins = ["clighter", "clighter8"]
vimcompatible = true
enable_language_specific_leader = false
enable_scrollbar = true