-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoc_config.tmpl.json
73 lines (73 loc) · 2.34 KB
/
coc_config.tmpl.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
{
"languageserver": {
"clangd": {
"enable": true,
"command": "xcrun --find clangd",
"args": ["-completion-style=detailed",
"-log=error",
"-pretty",
"-limit-results=100",
"-j=6",
"-pch-storage=disk",
"-resource-dir=xcrun clang -print-resource-dir"],
"rootPatterns": ["compile_flags.txt", "compile_commands.json", ".vim/", ".git/", ".hg/"],
"filetypes": ["c", "c++", "cc", "cpp", "objc", "objcpp"],
"trace.server": "verbose"
},
"swift": {
"enable": true,
"command": "get_sourcekit_path",
"args": [
"-Xswiftc",
"-sdk",
"-Xswiftc",
"get_sdk_path",
"-Xswiftc",
"-target",
"-Xswiftc",
"get_target_triplet"
],
"rootPatterns": ["Package.swift", ".vim/", ".git/"],
"filetypes": ["c", "swift"],
"trace.server": "verbose"
},
"bash": {
"command": "( type bash-language-server || yarn global add bash-language-server ) 1>&2 && echo bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
},
"cmake": {
"command": "( type cmake-language-server || pip3 install cmake-language-server ) 1>&2 && echo cmake-language-server",
"filetypes": ["cmake"],
"rootPatterns": [
"build/"
],
"initializationOptions": {
"buildDirectory": "build"
}
},
"dockerfile": {
"command": "( type docker-langserver || yarn global add dockerfile-language-server-nodejs ) 1>&2 && echo docker-langserver",
"filetypes": ["dockerfile"],
"args": ["--stdio"]
},
"sql": {
"command": "( type sql-language-server || yarn global add sql-language-server ) 1>&2 && echo sql-language-server",
"args" : ["up", "--method", "stdio"],
"filetypes": ["sql", "mysql"]
},
"graphql": {
"command": "( type graphql-lsp || yarn global add graphql graphql-config graphql-language-service-cli ) 1>&2 && echo graphql-lsp",
"args": ["server", "-m", "stream"],
"filetypes": ["graphql"],
"trace.server": "verbose"
}
},
"solargraph.useBundler": true,
"solargraph.trace.server": "verbose",
"solargraph.diagnostics": true,
"solargraph.logLevel": "debug",
"python.setLinter": "pylint",
"python.setInterpreter": "test -n "${VIRTUAL_ENV:-}" && echo $_ || type -p python3"
}