forked from Martins3/My-Linux-Config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.toml
executable file
·169 lines (139 loc) · 3.77 KB
/
init.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#=============================================================================
# init.toml --- customize configuration example for SpaceVim
# Copyright (c) 2016-2020
# URL: https://spacevim.org
# License: GPLv3
#=============================================================================
# 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 = "dracula"
colorscheme_bg = "dark"
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors
enable_guicolors = false
# Disable statusline separator, if you want to use other value, please
# install nerd fonts
statusline_separator = "nil"
statusline_iseparator = "nil"
buffer_index_type = 4
windows_index_type = 3
enable_tabline_filetype_icon = false
enable_statusline_mode = false
statusline_unicode_symbols = false
# left sections of statusline
statusline_left_sections = [
'winnr',
# 'major mode',
# 'filename',
# 'fileformat'
]
# right sections of statusline
statusline_right_sections = [
'percentage'
]
# Enable vim compatible mode, avoid changing origin vim key bindings
vimcompatible = true
default_indent = 4
enable_cursorline = 0
# customize option
snippet_engine = "ultisnips"
filemanager = "defx"
# filemanager = "nerdtree"
# autocomplete module
autocomplete_method = "coc" # require enable lsp module
bootstrap_before = "myspacevim#before"
bootstrap_after = "myspacevim#after"
enable_neomake = false
# disable built-in plugin
# disabled_plugins = ["neomake.vim"]
enable_vimfiler_welcome = false
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto_completion_return_key_behavior = "complete"
auto_completion_tab_key_behavior = "cycle"
auto_completion_enable_snippets_in_popup = true
autocomplete_parens = true
[[layers]]
name = "VersionControl"
enable = false
[[layers]]
name = "checkers"
enable = false
[[layers]]
name = "core#statusline"
[[layers]]
name = "core#banner"
enable = false
[[layers]]
name = "core#tabline"
[[layers]]
name = 'core'
filetree_show_hidden = true
[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30
[[layers]]
name = "lang#c"
clang_executable = "g++"
clang_flag = ['-I/user/include']
enable_clang_syntax_highlight = false
[layer.clang_std]
c = "c11"
cpp = "c++1z"
[[layers]]
name = 'lsp'
filetypes = [
'c',
'cpp'
]
[layers.override_cmd]
c = ['ccls', '--log-file=/tmp/ccls.log']
cpp = ['ccls', '--log-file=/tmp/ccls.log']
[[layers]]
name = "format"
[[layers]]
name = "edit"
enable = false
# fuzzy search
[[layers]]
name = "denite"
enable = false
# fuzzy search
[[layers]]
name = "fzf"
enable = false
[[layers]]
name = "cscope"
enable = false
[[layers]]
name = "gtags"
gtagslabel = "pygments"
enable = false
[[layers]]
name = "ui"
enable = false
# 基于lsp的高亮插件
#[[custom_plugins]]
# name = 'jackguo380/vim-lsp-cxx-highlight'
# 主要用于快速搜索 文件, buffer 和 函数
[[custom_plugins]]
name = "Yggdroot/LeaderF"
build = "./install.sh"
# 参考https://vimjc.com/vim-indentLine-plugin.html
[[custom_plugins]]
name = 'Yggdroot/indentLine'
# 从 http://cplusplus.com/ 和 http://cppreference.com/ 获取文档
[[custom_plugins]]
name = 'skywind3000/vim-cppman'
[[custom_plugins]]
repo = "dracula/vim"
name = "dracula"
merged = false
[[custom_plugins]]
name = 'voldikss/vim-translator'