-
Notifications
You must be signed in to change notification settings - Fork 3
/
coc-settings.json
140 lines (140 loc) · 4.54 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
{
"diagnostic.errorSign": "●",
"diagnostic.warningSign": "●",
"eslint.options": { "enable": false },
"snippets.extends": {
"cpp": ["c"],
"typescriptreact": ["javascript"]
},
"languageserver": {
"lua": {
"command": "lua-lsp",
"filetypes": ["lua"]
},
"rust": {
"command": "rust-analyzer",
"filetypes": ["rust"],
"rootPatterns": ["Cargo.toml"]
},
"ocaml": {
"command": "ocaml-language-server",
"args": ["--stdio"],
"filetypes": ["ocaml", "reason"]
},
"dart": {
"command": "dart_language_server",
"args": [],
"filetypes": ["dart"],
"initializationOptions": {},
"settings": {
"dart": {
"validation": {},
"completion": {}
}
}
},
"ccls": {
"command": "ccls",
"filetypes": ["c", "cpp", "objc", "objcpp"],
"rootPatterns": [
".ccls",
"compile_commands.json",
".vim/",
".git/",
".hg/"
],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
},
"sourcekit": {
// xcrun --toolchain swift --find sourcekit-lsp
"command": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp",
"filetypes": ["swift"],
"rootPatterns": ["Podfile", ".git", ".hg"]
},
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".git/", ".hg/"],
"filetypes": ["go"],
"initializationOptions": {
"usePlaceholders": true
}
},
"intelephense": {
"command": "intelephense",
"args": ["--stdio"],
"filetypes": ["php"],
"initializationOptions": {
"storagePath": "/tmp/intelephense"
}
},
"metals": {
"command": "metals",
"rootPatterns": ["build.sbt"],
"filetypes": ["scala", "sbt.scala", "sbt"]
},
"python": {
"command": "python",
"args": ["-mpyls", "-vv", "--log-file", "/tmp/lsp_python.log"],
"trace.server": "verbose",
"filetypes": ["python"],
"settings": {
"pyls": {
"enable": false,
"trace": {
"server": "verbose"
},
"commandPath": "",
"configurationSources": ["pycodestyle"],
"plugins": {
"jedi_completion": {
"enabled": true
},
"jedi_hover": {
"enabled": true
},
"jedi_references": {
"enabled": true
},
"jedi_signature_help": {
"enabled": true
},
"jedi_symbols": {
"enabled": true,
"all_scopes": true
},
"mccabe": {
"enabled": true,
"threshold": 15
},
"preload": {
"enabled": true
},
"pycodestyle": {
"enabled": true
},
"pydocstyle": {
"enabled": false,
"match": "(?!test_).*\\.py",
"matchDir": "[^\\.].*"
},
"pyflakes": {
"enabled": true
},
"rope_completion": {
"enabled": true
},
"yapf": {
"enabled": true
}
}
}
}
}
},
"java.errors.incompleteClasspath.severity": "ignore",
"coc.source.emoji.filetypes": ["markdown", "gitcommit"]
}