]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/vim/coc-settings.json
git: install git-absorb
[julm/julm-nix.git] / home-manager / profiles / vim / coc-settings.json
1 {
2 "languageserver": {
3 "haskell": {
4 "command": "hie-wrapper",
5 "args": ["--lsp"],
6 "rootPatterns": [
7 "*.cabal",
8 "stack.yaml",
9 "cabal.project",
10 "package.yaml"
11 ],
12 "filetypes": [
13 "hs",
14 "lhs",
15 "haskell"
16 ],
17 "initializationOptions": {
18 "languageServerHaskell": {
19 "hlintOn": true
20 }
21 }
22 }
23 },
24
25 "coc.preferences.colorSupport": true,
26 //"coc.preferences.currentFunctionSymbolAutoUpdate": true,
27 "coc.preferences.formatOnSaveFiletypes": [],
28 "coc.preferences.hoverTarget": "echo",
29 "coc.preferences.jumpCommand": "edit",
30 "coc.preferences.rootPatterns": [".git", ".vscode"],
31 "coc.preferences.snippetStatusText": "🌟",
32 "coc.preferences.useQuickfixForLocations": false,
33
34 //"coc-actions.hideCursor": false,
35 //"coc-actions.useCursorLine": true,
36
37 "diagnostic.checkCurrentLine": true,
38 "diagnostic.enableMessage": "always",
39 "diagnostic.messageTarget": "float",
40 "diagnostic.enableSign": true,
41 "diagnostic.errorSign": "E",
42 "diagnostic.hintSign": "H",
43 "diagnostic.infoSign": "I",
44 "diagnostic.warningSign": "W",
45 //"diagnostic.errorSign": "✗",
46 //"diagnostic.hintSign": "~",
47 //"diagnostic.infoSign": "●",
48 //"diagnostic.warningSign": "⚠",
49 "diagnostic.level": "hint",
50 "diagnostic.locationlist": true,
51 "diagnostic.maxWindowHeight": 10,
52 "diagnostic.refreshAfterSave": false,
53 "diagnostic.refreshOnInsertMode": false,
54 "diagnostic.virtualTextLines": 10,
55
56 "suggest.detailField": "abbr",
57 "suggest.echodocSupport": true,
58 "suggest.enablePreview": true,
59 "suggest.floatEnable": false,
60 "suggest.noselect": false,
61 "suggest.removeDuplicateItems": true,
62 "suggest.snippetIndicator": "🌟",
63 "suggest.timeout": 500,
64 "suggest.triggerAfterInsertEnter": false,
65 "suggest.triggerCompletionWait": 100,
66 "suggest.completionItemKindLabels": {
67 "keyword": "\uf1de",
68 "variable": "\ue79b",
69 "value": "\uf89f",
70 "operator": "\u03a8",
71 "function": "\u0192",
72 "reference": "\ufa46",
73 "constant": "\uf8fe",
74 "method": "\uf09a",
75 "struct": "\ufb44",
76 "class": "\uf0e8",
77 "interface": "\uf417",
78 "text": "\ue612",
79 "enum": "\uf435",
80 "enumMember": "\uf02b",
81 "module": "\uf40d",
82 "color": "\ue22b",
83 "property": "\ue624",
84 "field": "\uf9be",
85 "unit": "\uf475",
86 "event": "\ufacd",
87 "file": "\uf723",
88 "folder": "\uf114",
89 "snippet": "\ue60b",
90 "typeParameter": "\uf728",
91 "default": "\uf29c"
92 },
93
94 //"list.source.files.defaultOptions": ["--auto-preview"],
95 //"list.source.outline.defaultOptions": ["--auto-preview"],
96
97 //"git.enableGutters": true,
98 //"git.branchCharacter":"\uf408",
99 //"git.addGBlameToBufferVar": true,
100 //"git.addGBlameToVirtualText": true,
101 //"git.virtualTextPrefix": " ❯❯❯ ",
102 //"git.addedSign.hlGroup": "GitGutterAdd",
103 //"git.changedSign.hlGroup": "GitGutterChange",
104 //"git.removedSign.hlGroup": "GitGutterDelete",
105 //"git.topRemovedSign.hlGroup": "GitGutterDelete",
106 //"git.changeRemovedSign.hlGroup": "GitGutterChangeDelete",
107 //"git.addedSign.text":"▎",
108 //"git.changedSign.text":"▎",
109 //"git.removedSign.text":"▏",
110 //"git.topRemovedSign.text": "▔",
111 //"git.changeRemovedSign.text": "▋"
112
113 "diagnostic-languageserver.enable": true,
114 "diagnostic-languageserver.debug": true,
115 "diagnostic-languageserver.trace.server": "verbose",
116 }