-
Notifications
You must be signed in to change notification settings - Fork 2
/
coc-settings.json
76 lines (76 loc) · 1.89 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
{
// suggestions
// "suggest.echodocSupport": true,
// TODO add more labels and give them cool glyphs
"suggest.completionItemKindLabels": {
"text": "t",
"method": "m",
"function": "f"
},
// diagnostics
"diagnostic.errorSign": "✗",
"diagnostic.warningSign": "⚠",
"diagnostic.infoSign": "",
"diagnostic.hintSign": " ",
// "diagnostic.displayByAle": true,
// codelens TODO what does this get me?
// "codeLens.enable": true,
// list
"list.indicator": ">",
"list.selectedSignText": " ",
// autoformat
"coc.preferences.formatOnSaveFiletypes": [
"css",
"markdown",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"graphql",
"html",
"yaml",
"json",
"python"
],
"tsserver.formatOnType": true,
"coc.preferences.formatOnType": true,
"coc.preferences.hoverTarget": "float",
// python config
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
// snippets
"snippets.userSnippetsDirectory": "~/.config/nvim/snippets",
"snippets.extends": {
"javascriptreact": ["javascript"],
"typescript": ["javascript", "javascript-jasmine-arrow"],
"typescriptreact": ["typescript"]
},
// explorer
"explorer.file.showHiddenFiles": true,
"explorer.width": 30,
"explorer.icon.enableNerdfont": true,
"explorer.previewAction.onHover": false,
"explorer.icon.enableVimDevicons": false,
"explorer.keyMappings": {
"<cr>": ["expandable?", "expand", "open"],
"v": "open:vsplit"
},
"languageserver": {
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
}
},
// eslint config
"eslint.autoFixOnSave": true,
"eslint.filetypes": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
//prettier config
"prettier.disableSuccessMessage": true
}