-
Notifications
You must be signed in to change notification settings - Fork 2
/
coc-settings.json
92 lines (91 loc) · 2.07 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
{
"languageserver": {
"rls": {
"command": "rls",
"filetypes": [],
"rootPatterns": ["Cargo.toml"]
},
"rust-analyzer": {
"command": "rust-analyzer",
"filetypes": ["rust"],
"rootPatterns": ["Cargo.toml"],
"settings": {
"rust-analyzer": {
"checkOnSave": {
"enable": true,
"command": "clippy"
},
"cargo": {
"allFeatures": true
}
}
}
},
"pyls": {
"command": "python",
"args": [
"-mpyls",
"-vv",
"--log-file",
"/tmp/lsp_python.log"
],
"rootPatterns": ["setup.py", "setup.cfg", "pyproject.toml"],
"filetypes": [
"python"
],
"settings": {
"pyls": {
"enable": true,
"commandPath": "",
"configurationSources": [
"flake8"
],
"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": false,
"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
}
}
}
}
}
},
"python.formatting.provider": "black",
"coc.preferences.formatOnSaveFiletypes": ["rust", "python"]
}