-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoc-settings.json
84 lines (84 loc) · 2.38 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
{
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": [
"c",
"cpp",
"objc",
"objcpp"
],
"rootPatterns": [
".ccls",
"compile_commands.json",
".vim/",
".git/",
".hg/"
],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
},
// typescript
"typescript.format.enabled": false,
"tsserver.maxTsServerMemory": 1000000,
// kubernetes
"yaml.schemas": {
"kubernetes": "/*.yaml"
},
// python
"python.venvPath": "~/venv/",
"python.venvFolders": [
"/root/.pyenv/versions/3.9.2/envs"
],
// "python.jediEnabled": true,
"suggest.timeout": 5000,
"python.linting.pylintEnabled": true,
"python.linting.flake8Enabled": false,
"python.linting.pylintPath": "pylint",
"python.formatting.provider": "black",
// formating
"coc.preferences.formatOnSaveFiletypes": [
"python",
"css",
"markdown",
// "javascript",
"graphql",
"html",
"yaml",
"json",
"java"
],
// code lens
"codeLens.enable": true,
// java
"java.referencesCodeLens.enabled": true,
"java.implementationsCodeLens.enabled": true,
"java.completion.enabled": true,
// "java.jdt.ls.vmargs": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication",
// c#
"omnisharp.version": "lastest",
"omnisharp.trace.server": "information",
"omnisharp.debug.server": true,
// coc explorer
"explorer.width": 30,
"explorer.activeMode": true,
"explorer.previewAction.onHover": false,
"explorer.file.reveal.whenOpen": true,
// "explorer.file.autoReveal": false,
"explorer.file.showHiddenFiles": true,
"explorer.icon.enabledNerdFont": true,
"explorer.icon.source": "vim-devicons",
"explorer.file.child.template": "[git | 2] [selection | clip | 1] [indent][icon | 1] [diagnosticError & 1][filename omitCenter 1][modified][readonly] [linkIcon & 1][link growRight 1 omitCenter 5]",
"explorer.keyMappings": {
"<C-l>": [
"expandable?",
"expand",
"open"
],
"v": "open.vsplit"
}
}