-
Notifications
You must be signed in to change notification settings - Fork 0
/
coc-settings.json
214 lines (214 loc) · 5.9 KB
/
coc-settings.json
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"coc.preferences.extensionUpdateCheck": "weekly",
"yank.enableCompletion": false,
"suggest.labelMaxLength": 60,
"suggest.noselect": true,
"suggest.enablePreselect": false,
"suggest.triggerAfterInsertEnter": false,
"suggest.autoTrigger": "always",
"suggest.timeout": 5000,
"suggest.detailField": "preview",
"suggest.snippetIndicator": "",
"suggest.completionItemKindLabels": {
"class": "\uf0e8",
"color": "\ue22b",
"constant": "\uf8fe",
"default": "\uf29c",
"enum": "\uf435",
"enumMember": "\uf02b",
"event": "\ufacd",
"field": "\uf93d",
"file": "\uf723",
"folder": "\uf115",
"function": "\u0192",
"interface": "\uf417",
"keyword": "\uf1de",
"method": "\uf6a6",
"module": "\uf40d",
"operator": "\uf915",
"property": "\ue624",
"reference": "\ufa46",
"snippet": "\ue60b",
"struct": "\ufb44",
"text": "\ue612",
"typeParameter": "\uf728",
"unit": "\uf475",
"value": "\uf89f",
"variable": "\ue71b"
},
"diagnostic.errorSign": "×",
"diagnostic.warningSign": "»",
"diagnostic.infoSign": "\uf129",
"diagnostic.hintSign": "ஐ",
"diagnostic.displayByAle": false,
"diagnostic.refreshOnInsertMode": false,
"diagnostic.checkCurrentLine": true,
"diagnostic.virtualTextPrefix": ">>> ",
"diagnostic.virtualText": true,
"codeLens.enable": true,
"list.previewHighlightGroup": "Statement",
"list.nextKeymap": "<tab>",
"list.previousKeymap": "<s-tab>",
"signature.target": "float",
"explorer.width": 38,
"explorer.quitOnOpen": true,
"explorer.sources": [
{
"name": "buffer",
"expand": true
},
{
"name": "file",
"expand": true
}
],
"explorer.file.column.indent.indentLine": true,
"explorer.file.showHiddenFiles": true,
"explorer.icon.enableNerdfont": true,
"explorer.git.showIgnored": true,
"explorer.keyMappings.global": {
"i": false,
"k": "nodePrev",
"j": "nodeNext",
"gk": "expandablePrev",
"gj": "expandableNext",
"*": "toggleSelection",
"<tab>": "actionMenu",
"h": "collapse",
"l": ["expandable?", "expand", "open"],
"gl": "expandRecursive",
"gh": "collapseRecursive",
"o": "expandOrCollapse",
"<cr>": ["expandable?", "cd", "open"],
"e": "open",
"s": "open:split",
"S": "open:split:plain",
"E": "open:vsplit",
"t": "open:tab",
"<bs>": "gotoParent",
"gp": "preview:labeling",
"yp": "copyFilepath",
"yn": "copyFilename",
"yy": "copyFile",
"x": "cutFile",
"p": "pasteFile",
"d": "delete",
"D": "deleteForever",
"a": "addFile",
"A": "addDirectory",
"r": "rename",
".": "toggleHidden",
"R": "refresh",
"?": "help",
"q": "quit",
"<esc>": "esc",
"X": "systemExecute",
"gd": "listDrive",
"f": "search",
"F": "searchRecursive",
"gf": "gotoSource:file",
"gb": "gotoSource:buffer",
"[[": "sourcePrev",
"]]": "sourceNext",
"[d": "diagnosticPrev",
"]d": "diagnosticNext",
"[c": "gitPrev",
"]c": "gitNext",
"<<": "gitStage",
">>": "gitUnstage"
},
"snippets.extends": {
"text": ["wordbook"],
"markdown": ["wordbook"]
},
"snippets.ultisnips.directories": [
"$HOME/.config/nvim/Ultisnips/",
"$HOME/.config/nvim/plugged/vim-snippets/UltiSnips/"
],
"git.enableGutters": true,
"git.enableGlobalStatus": true,
"git.branchCharacter": "\uf408",
"git.addGBlameToBufferVar": false,
"git.addGBlameToVirtualText": false,
"git.addedSign.hlGroup": "GitGutterAdd",
"git.changedSign.hlGroup": "GitGutterChange",
"git.removedSign.hlGroup": "GitGutterDelete",
"git.topRemovedSign.hlGroup": "GitGutterDelete",
"git.changeRemovedSign.hlGroup": "GitGutterChangeDelete",
"git.changedSign.text": "░",
"flutter.UIPath": true,
"flutter.provider.enableSnippet": true,
"flutter.lsp.debug": true,
"flutter.outlineWidth": 40,
"flutter.outlineIconPadding": 0,
"flutter.openDevLogSplitCommand": "botright 0split",
"flutter.lsp.initialization.onlyAnalyzeProjectsWithOpenFiles": false,
"tslint.autoFixOnSave": true,
"python.formatting.provider": "black",
"python.analysis.diagnosticSeverityOverrides": {
"reportUnusedExpression": "none"
},
"Lua.workspace.library": [
"/usr/share/nvim/runtime/lua",
"/usr/share/nvim/runtime/lua/vim",
"/usr/share/nvim/runtime/lua/vim/lsp"
],
"Lua.diagnostics.globals": ["vim"],
"git.addedSign.text": "▎",
"git.removedSign.text": "▏",
"git.topRemovedSign.text": "▔",
"git.changeRemovedSign.text": "▒",
"coc.preferences.formatOnSave": true,
"sh.enable": true,
"vetur.format.enable": true,
"html.format.enable": true,
"json.format.enable": true,
"yaml.format.enable": true,
"Lua.format.enable": false,
"typescript.suggestionActions.enabled": true,
"javascript.showUnused": true,
"javascript.suggest.names": true,
"javascript.suggestionActions.enabled": true,
"diagnostic-languageserver.filetypes": {
"vim": "vint",
"email": "languagetool",
"markdown": ["write-good", "markdownlint"],
"sh": "shellcheck",
"elixir": ["mix_credo", "mix_credo_compile"],
"eelixir": ["mix_credo", "mix_credo_compile"],
"php": ["phpstan", "psalm"]
},
"diagnostic-languageserver.formatFiletypes": {
"elixir": "mix_format",
"eelixir": "mix_format"
},
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod"],
"filetypes": ["go"],
"initializationOptions": {
"gocodeCompletionEnabled": true,
"diagnosticsEnabled": true,
"lintTool": "golint"
}
},
"ccls": {
"command": "ccls",
"filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
"ignoredRootPaths": ["~"],
"rootPatterns": [
".ccls",
".ccls-root",
"compile_commands.json",
".git/",
".hg/"
],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
}
}