Improve coc settings
de9f2ab17d71eed88417a470bb8b746cb1683f16
1 parent
2670e8fb
.vim/coc-settings.json
+18 -4
| 1 | 1 | { |
|
| 2 | 2 | "diagnostic.virtualText": true, |
|
| 3 | 3 | "diagnostic.virtualTextPrefix": " ✗ ", |
|
| 4 | 4 | "diagnostic.virtualTextLines": 1, |
|
| 5 | + | "diagnostic.virtualTextLineSeparator": " \\ ", |
|
| 6 | + | "diagonstic.virtualTextCurrentLineOnly": true, |
|
| 5 | 7 | "diagnostic.enableSign": false, |
|
| 6 | 8 | "diagnostic.enableMessage": "never", |
|
| 7 | 9 | "diagnostic.messageDelay": 0, |
|
| 8 | - | "diagonstic.virtualTextCurrentLineOnly": false, |
|
| 9 | - | "diagnostic.virtualTextLines": 1, |
|
| 10 | - | "diagnostic.maxWindowHeight": 12, |
|
| 11 | - | "diagnostic.format": "%message", |
|
| 10 | + | "diagnostic.maxWindowHeight": 16, |
|
| 11 | + | "diagnostic.format": "✗ %message", |
|
| 12 | + | "diagnostic.hintSign": "", |
|
| 13 | + | "diagnostic.level": "warning", |
|
| 14 | + | "diagnostic.checkCurrentLine": true, |
|
| 12 | 15 | "suggest.fixInsertedWord": false, |
|
| 13 | 16 | "codeLens.enable": false, |
|
| 17 | + | "codeLens.separator": " ", |
|
| 14 | 18 | "coc.preferences.useQuickfixForLocations": true, |
|
| 15 | 19 | "coc.preferences.bracketEnterImprove": false, |
|
| 16 | 20 | "coc.preferences.snippets.enable": false, |
|
| 21 | + | "coc.preferences.enableMessageDialog": true, |
|
| 17 | 22 | "coc.preferences.formatOnSaveFiletypes": [ |
|
| 18 | 23 | "rust" |
|
| 19 | 24 | ], |
|
| 20 | 25 | "coc.source.snippets.enable": false, |
|
| 21 | 26 | ||
| 27 | + | "rust-analyzer.inlayHints.typeHintsSeparator": "", |
|
| 28 | + | "rust-analyzer.inlayHints.chainingHintsSeparator": " ", |
|
| 29 | + | "rust-analyzer.updates.prompt": false, |
|
| 30 | + | "rust-analyzer.diagnostics.enableExperimental": true, |
|
| 31 | + | "rust-analyzer.diagnostics.disabled": [ |
|
| 32 | + | "macro-error" |
|
| 33 | + | ], |
|
| 34 | + | "rust-analyzer.lens.enable": true, |
|
| 35 | + | ||
| 22 | 36 | "list.maxHeight": 10, |
|
| 23 | 37 | "list.autoResize": false, |
|
| 24 | 38 | "list.extendedSearchMode": false, |
|
| 25 | 39 | ||
| 26 | 40 | "suggest.fixInsertedWord": false, |