-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoc-settings.json
More file actions
113 lines (113 loc) · 2.64 KB
/
coc-settings.json
File metadata and controls
113 lines (113 loc) · 2.64 KB
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
{
"coc.preferences.currentFunctionSymbolAutoUpdate": true,
"suggest.autoTrigger": "always",
"suggest.triggerAfterInsertEnter": false,
"suggest.timeout": 500,
"suggest.noselect": false,
"suggest.detailField": "abbr",
"suggest.snippetIndicator": "",
"suggest.triggerCompletionWait": 100,
"suggest.echodocSupport": true,
"suggest.completionItemKindLabels": {
"keyword": "\uf1de",
"variable": "\ue79b",
"value": "\uf89f",
"operator": "\u03a8",
"function": "\u0192",
"reference": "\ufa46",
"constant": "\uf8fe",
"method": "\uf09a",
"struct": "\ufb44",
"class": "\uf0e8",
"interface": "\uf417",
"text": "\ue612",
"enum": "\uf435",
"enumMember": "\uf02b",
"module": "\uf40d",
"color": "\ue22b",
"property": "\ue624",
"field": "\uf9be",
"unit": "\uf475",
"event": "\ufacd",
"file": "\uf15c",
"folder": "\uf114",
"snippet": "\ue60b",
"typeParameter": "\uf728",
"default": "\uf29c"
},
//diagnostic
"diagnostic.signOffset": 9999999,
"diagnostic.errorSign": "",
"diagnostic.warningSign": "",
"diagnostic.displayByAle": false,
"diagnostic.refreshOnInsertMode": true,
//git
"git.enableGutters": true,
"git.branchCharacter": "\uf418",
"git.addGBlameToBufferVar": true,
"git.addGBlameToVirtualText": true,
"git.virtualTextPrefix": " ",
"git.addedSign.text": "+",
"git.changedSign.text": "~",
"git.removedSign.text": "-",
"git.topRemovedSign.text": "-",
"git.changeRemovedSign.text": "~",
"git.showCommitInFloating": true,
//Snippet
"coc.preferences.snippetStatusText": " ",
//CocList
"list.source.files.defaultOptions": [
"--auto-preview"
],
"list.source.outline.defaultOptions": [
"--auto-preview"
],
//multiple curssors
"cursors.nextKey": "<C-n>",
"cursors.previousKey": "<C-p>",
"cursors.cancelKey": "<esc>",
//sessions
"session.directory": "~/.cache/vim/session",
"project.dbpath": "~/.cache/vim/.coc-project",
"project.rootPatterns": [
".git",
".ccls"
],
// coc-explorer
"explorer.icon.expanded": "",
"explorer.icon.collapsed": "",
"explorer.width": 30,
"explorer.icon.enableNerdfont": true,
"explorer.quitOnOpen": false,
"explorer.floating.width": -20,
"explorer.floating.height": -10,
"explorer.openAction.strategy": "sourceWindow",
// todolist
"todolist.monitor": true,
// leetcode
"leetcode.language": "c",
// add your languageServer into this list
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": [
"c",
"cpp",
"objc",
"objcpp"
],
"rootPatterns": [
".ccls",
"compile_commands.json",
".git/",
".hg/"
],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
},
"cSpell.enabled": false
}