-
Notifications
You must be signed in to change notification settings - Fork 0
/
coc-settings.json
86 lines (86 loc) · 2.28 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
{
"diagnostic.errorSign": "❯",
"diagnostic.warningSign": "❯",
"diagnostic.infoSign": "❯",
"diagnostic.hintSign": "❯",
// --
// "diagnostic.virtualText": true,
// "diagnostic.virtualTextCurrentLineOnly": false,
// "diagnostic.virtualTextPrefix": " ",
// --
"coc.preferences.jumpCommand": "view",
"coc.source.file.ignoreHidden": false,
"signature.preferShownAbove": false,
"signature.triggerSignatureWait": 5000,
"list.signOffset": 99999,
// --
// "suggest.autoTrigger": "none",
// "signature.enable": false,
// --
"eslint.packageManager": "yarn",
// --
"tsserver.maxTsServerMemory": 5120,
// --
// "python.formatting.provider": "black",
// "python.formatting.blackPath": "/usr/local/bin/black",
// "python.formatting.blackArgs": ["-l", "80"],
// --
"languageserver": {
"rust-lsp": {
"command": "/Users/yunlingzhu/opt/rust-analyzer/rust-analyzer",
"rootPatterns": ["Cargo.toml"],
"filetypes": ["rust"],
"initializationOptions": {
"cargo": {
"loadOutDirsFromCheck": true
},
"procMacro": {
"enable": true
}
}
},
"clangd": {
"command": "/usr/local/opt/llvm/bin/clangd",
"args": ["--clang-tidy", "--fallback-style=google"],
"rootPatterns": ["compile_commands.json", "compile_flags.txt"],
"filetypes": ["cpp", "c", "objc", "objcpp"],
"initializationOptions": {
"fallbackFlags": [
"-xc++",
"-std=c++17",
"-pedantic",
"-Wall",
"-Wextra",
"-fno-exceptions",
"-fno-rtti",
"-pthread",
// -- custom --
"-I/usr/local/include",
"-I/usr/local/Cellar/fmt/8.1.1_1/include"
]
}
},
"pyright": {
"command": "/Users/yunlingzhu/.yarn/bin/pyright-langserver",
"args": ["--stdio"],
"rootPatterns": [
"pyproject.toml",
"setup.py",
"setup.cfg",
"requirements.txt",
"Pipfile",
"pyrightconfig.json"
],
"filetypes": ["python"],
"settings": {
"python": {
"analysis": {
"autoSearchPaths": true,
"useLibraryCodeForTypes": true,
"diagnosticMode": "workspace"
}
}
}
}
}
}