-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
45 lines (37 loc) · 905 Bytes
/
config.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
theme = "onedark" # 主题
[editor] # 编辑器
line-number = "relative"
mouse = true
bufferline = "always"
[editor.statusline] # 底部状态行
left = ["mode", "spinner"]
center = ["file-name", "file-modification-indicator"]
right = [
"diagnostics",
"selections",
"position",
"file-encoding",
"file-line-ending",
"file-type",
]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[editor.lsp] # 语言服务器
enable = true
display-messages = true
auto-signature-help = true
display-inlay-hints = true
display-signature-help-docs = true
snippets = true
[editor.cursor-shape] # 光标形状
insert = "bar"
normal = "block"
select = "underline"
[editor.file-picker] # 文件选择器
hidden = false
[editor.indent-guides] # 缩进参考线
render = true
character = "╎" # Some characters that work well: "▏", "┆", "┊", "⸽"
skip-levels = 0