-
Notifications
You must be signed in to change notification settings - Fork 0
/
coc-settings.json
54 lines (53 loc) · 1.7 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
{
"suggest.triggerAfterInsertEnter": false,
"suggest.timeout": 5000,
"suggest.noselect": false,
"suggest.detailField":"preview",
"suggest.snippetIndicator": " \uf863",
"suggest.triggerCompletionWait": 100,
"suggest.echodocSupport": true,
//diagnostic
"diagnostic.signOffset": 9999999,
"diagnostic.errorSign": "●",
"diagnostic.warningSign": "●",
"diagnostic.displayByAle": true,
"diagnostic.refreshOnInsertMode": true,
//git
"git.enableGutters": true,
"git.branchCharacter":" branch",
"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",
//Snippet
//tslint
//prettier
"coc.preferences.formatOnSaveFiletypes": ["css","markdown"],
"prettier.eslintIntegration": true,
"prettier.tslintIntegration": true,
"prettier.stylelintIntegration": true,
//emmet
"emmet.includeLanguages": {"vue-html": "html", "javascript": "javascriptreact"},
//python
"python.autoComplete.addBrackets": true,
// eslint
"eslint.filetypes": ["javascript", "javascript.jsx", "javascriptreact"],
"eslint.autoFix": true,
"eslint.autoFixOnSave": true,
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod"],
"filetypes": ["go"]
},
"rust": {
"command": "rust-analyzer",
"filetypes": ["rust"],
"rootPatterns": ["Cargo.toml"]
}
}
}