-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcoc-settings.json
92 lines (82 loc) · 2.33 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
{
// explorer
"explorer.width": 80,
"explorer.icon.enableNerdfont": true,
"explorer.previewAction.onHover": false,
"explorer.icon.enableVimDevicons": false,
"explorer.keyMappings.global": {
"<cr>": ["expandable?", ["expanded?", "collapse", "expand"], "open"],
"v": "open:vsplit"
},
"explorer.file.autoReveal": true,
"suggest.completionItemKindLabels": {
"text": "t",
"method": "m",
"function": ""
},
"coc.preferences.snippets.enable": true,
"coc.preferences.snippetStatusText": "SNIPPET",
"coc.preferences.formatOnType": false,
"coc.preferences.hoverTarget": "float",
"diagnostic.virtualText": true,
"diagnostic.virtualTextCurrentLineOnly": true,
"diagnostic.messageTarget": "echo",
"codeLens.enable": true,
"suggest.echodocSupport": true,
// list
"list.indicator": ">",
"list.selectedSignText": " ",
// diagnostics
"diagnostic.errorSign": " ",
"diagnostic.warningSign": " ",
"diagnostic.infoSign": "",
"diagnostic.hintSign": " ",
"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,
// snippets
"snippets.extends": {
"scss": ["css"],
"sass": ["css"],
"less": ["css"],
"xml": ["xml"],
"vim": ["vim"],
"snippets": ["snippets"],
"typescript": ["javascript", "angulartypescript"],
"html": ["angularhtml", "angularmaterial", "angularflexlayout"]
},
// autoformat
"coc.preferences.formatOnSaveFiletypes": [
"css",
"markdown",
"javascript",
"graphql",
"html",
"yaml",
"json",
"python"
],
"coc.preferences.hoverTarget": "float",
// html
"html.autoClosingTags": true,
"html.suggest.ionic": true,
// python config
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.flake8Enabled": true,
"python.formatting.provider": "black",
"python.formatting.blackPath": "/usr/local/bin/black",
"python.sortImports.path": "~/.local/bin/isort",
// solargraph
"solargraph.diagnostics": true,
"solargraph.autoformat": true,
"solargraph.formatting": true,
"solargraph.hover": true
}