forked from amix/vimrc
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcoc-settings.json
33 lines (33 loc) · 974 Bytes
/
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
{
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"],
"initializationOptions": {
"usePlaceholders": true
}
},
"rust": {
"command": "rust-analyzer",
"filetypes": ["rust"],
"rootPatterns": ["Cargo.toml"]
}
},
"list.source.files.defaultOptions": ["--number-select"],
"coc.preferences.extensionUpdateCheck": "weekly",
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"dart",
"rust"
],
"tsserver.formatOnType": true,
"coc.preferences.formatOnType": true,
"rust-analyzer.inlayHints.enable": false,
"rust-analyzer.hoverActions.linksInHover": true,
"hover.floatMaxHeight": 20 ,
"hover.floatMaxWidth": 80
}