-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoc-settings.json
78 lines (69 loc) · 1.81 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
{
// coc settings
"coc.preferences.snippets.enable": true,
"coc.preferences.snippetStatusText": "🌈",
"coc.preferences.formatOnType": false,
// diagnostic
"diagnostic.infoSign": "i",
"diagnostic.hintSign": "*",
"diagnostic.warningSign": "!",
"diagnostic.errorSign": "x",
"diagnostic.enable": true,
"diagnostic.signOffset": 9999999,
"diagnostic.highlightOffset": 9999999,
"diagnostic.refreshOnInsertMode": true,
// suggest
"suggest.detailField": "abbr",
"suggest.detailMaxLength": 30,
"suggest.maxCompleteItemCount": 50,
"suggest.maxPreviewWidth": 80,
"suggest.triggerAfterInsertEnter": false,
// priority
"suggest.languageSourcePriority": 9999,
"coc.source.syntax.priority": 10,
"coc.source.file.priority": 4,
"coc.source.around.priority": 3,
"coc.source.tag.priority": 2,
"coc.source.emoji.priority": 2,
"coc.source.dictionary.priority": 1,
"coc.source.buffer.priority": 1,
// language server
"languageserver": {
"godot": {
"host": "127.0.0.1",
"filetypes": ["gdscript"],
"port": 6008
}
},
// snippets
"snippets.extends": {
"html": ["html-ng", "html-ng-material", "html-ng-flexlayout", "html-react"],
"scss": ["css"],
"sass": ["css"],
"less": ["css"],
"javascript": ["javascript", "react"],
"typescript": ["javascript", "typescript", "react", "angular"],
"vim": ["vim"],
"json": ["json"],
"gdscript": ["gdscript"]
},
// html
"html.suggest.ionic": true,
// emoji
"coc.source.emoji.filetypes": [
"markdown",
"gitcommit"
],
// eslint
"eslint.enable": true,
"eslint.filetypes": [
"javascript",
"javascript.jsx",
"javascriptreact"
],
"eslint.autoFix": false,
"eslint.autoFixOnSave": false,
// tslint
"tslint.enable": true,
"tslint.autoFixOnSave": false
}