-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcoc-settings.json.example
54 lines (52 loc) · 1.52 KB
/
coc-settings.json.example
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
{
// If enable ALE
// "diagnostic.displayByAle": true,
// coc-pyright
// https://github.com/fannheyward/coc-pyright/blob/master/package.json
"diagnostic.showUnused": false,
"pyright.inlayHints.functionReturnTypes": false,
"pyright.inlayHints.variableTypes": false,
"python.analysis.typeCheckingMode": "off",
"pyright.disableDiagnostics": false, // Use ALE
"python.linting.pylintEnabled": true, // Use ALE
"python.analysis.diagnosticSeverityOverrides": {
// "reportMissingImports": "none"
},
"python.linting.pylintArgs": [
"--disable=C,W,R",
"--disable=method-hidden,no-member"
],
"python.linting.mypyEnabled": true,
"languageserver": {
"ccls": {
"command": "ccls",
"args": ["-log-file=/tmp/ccls.log", "-v=1"],
"filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
"rootPatterns": [".ccls", "compile_commands.json", ".git/", ".hg/", ".ccls-root", "compile_commands.json"],
"initializationOptions": {
"cache": {
"directory": ".ccls-cache"
},
"client": {
"snippetSupport": true
},
"clang": {
"extraArgs": [
"-isystem",
"/Library/Developer/CommandLineTools/usr/include/c++/v1",
"-stdlib",
"libc++"
]
}
}
},
"golang": {
"command": "gopls",
"rootPatterns": ["go.work", "go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"],
"initializationOptions": {
"usePlaceholders": true
}
}
}
}