-
Notifications
You must be signed in to change notification settings - Fork 14
/
coc-settings.json
165 lines (164 loc) Β· 4.09 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
{
"languageserver": {
"lua": {
"command": "lua-lsp",
"filetypes": ["lua"]
}
},
"coc.preferences.extensionUpdateCheck": "daily",
"suggest.triggerAfterInsertEnter": false,
"suggest.timeout": 500,
"suggest.noselect": false,
"suggest.labelMaxLength": 30,
"suggest.detailMaxLength": 30,
"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.infoSign": "β",
"diagnostic.displayByAle": false,
"diagnostic.refreshOnInsertMode": true,
//git
"git.enableGutters": true,
"git.branchCharacter": "\uf418",
"git.addGBlameToBufferVar": true,
"git.addGBlameToVirtualText": true,
"git.virtualTextPrefix": " β―β―β― ",
"git.addedSign.hlGroup": "GitGutterAdd",
"git.changedSign.hlGroup": "GitGutterChange",
"git.removedSign.hlGroup": "GitGutterDelete",
"git.topRemovedSign.hlGroup": "GitGutterDelete",
"git.changeRemovedSign.hlGroup": "GitGutterChangeDelete",
"git.addedSign.text": "β",
"git.changedSign.text": "β",
"git.removedSign.text": "β",
"git.topRemovedSign.text": "β",
"git.changeRemovedSign.text": "β",
//Snippet
"coc.preferences.snippetStatusText": "β ",
//CocList
"list.source.files.defaultOptions": ["--auto-preview"],
"list.source.outline.defaultOptions": ["--auto-preview"],
//Pairs
"pairs.enableCharacters": ["(", "[", "{", "'", "\"", "`"],
//prettier
"coc.preferences.formatOnSaveFiletypes": [
"html",
"css",
"markdown",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"go",
"json"
],
"prettier.statusItemText": "β ",
"prettier.eslintIntegration": true,
"prettier.tslintIntegration": false,
"prettier.stylelintIntegration": true,
"prettier.disableSuccessMessage": true,
//emmet
"emmet.includeLanguages": {
"vue-html": "html",
"javascript": "javascriptreact",
"typescriptreact": "typescriptreact"
},
//imselect
"imselect.enableStatusItem": false,
//multiple curssor
"cursors.nextKey": "<C-n>",
"cursors.previousKey": "<C-p>",
"cursors.cancelKey": "<esc>",
//sessions
"session.directory": "~/.cache/vim/session",
// coc-explorer
"explorer.icon.expanded": "βΎ",
"explorer.icon.collapsed": "βΈ",
"explorer.width": 30,
"explorer.icon.enableNerdfont": true,
"explorer.quitOnOpen": true,
"explorer.floating.width": -20,
"explorer.floating.height": -10,
"explorer.openAction.strategy": "sourceWindow",
// eslint
"eslint.filetypes": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.autoFix": true,
"eslint.autoFixOnSave": true,
// coc-actions
"coc-actions.hideCursor": false,
// Cspell
"cSpell.fixSpellingWithRenameProvider": true,
"cSpell.showStatus": false,
"cSpell.enabledLanguageIds": [
"asciidoc",
"c",
"cpp",
"csharp",
"css",
"git-commit",
"gitcommit",
"go",
"haskell",
"html",
"java",
"javascript",
"javascriptreact",
"json",
"jsonc",
"latex",
"less",
"markdown",
"php",
"plaintext",
"python",
"pug",
"restructuredtext",
"rust",
"scala",
"scss",
"text",
"typescript",
"typescriptreact",
"yaml",
"yml",
"vim"
],
"cSpell.userWords": ["Bilibili", "Floaterm", "Rnvimr", "wsdjeg"]
}