-
Notifications
You must be signed in to change notification settings - Fork 0
/
coc-settings.json
172 lines (172 loc) · 4.32 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"coc.preferences.extensionUpdateCheck": "weekly",
"coc.preferences.currentFunctionSymbolAutoUpdate": true,
"codeLens.enable": true,
"semanticTokens.enable": true,
"suggest.noselect": true,
"suggest.completionItemKindLabels": {
"keyword": "\udb80\udf09",
"variable": "\ue79b",
"value": "\udb80\udfa0",
"operator": "\udb81\udc16",
"constructor": "\uf0ad",
"function": "\udb80\ude95",
"reference": "\uf4bd",
"constant": "\udb80\udfff",
"method": "\udb80\udda7",
"struct": "\udb81\ude45",
"class": "\udb82\udc31",
"interface": "\ueb61",
"text": "\udb82\udda8",
"enum": "\uf15d",
"enumMember": "\uf15e",
"module": "\uf487",
"color": "\udb80\udfd8",
"property": "\udb81\udf22",
"field": "\udb81\udf22",
"unit": "\udb81\udc6d",
"event": "\uf0e7",
"file": "\udb80\ude14",
"folder": "\udb80\ude4b",
"snippet": "\uf44f",
"typeParameter": "\uea92",
"default": "\uf128"
},
"explorer.icon.enableNerdfont": true,
"coc.source.word.shortcut": "word10k",
"coc.source.file.ignoreHidden": false,
"languageserver": {
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
},
"haskell": {
"command": "haskell-language-server-wrapper",
"args": ["--lsp"],
"rootPatterns": [
"*.cabal",
"stack.yaml",
"cabal.project",
"package.yaml",
"hie.yaml"
],
"filetypes": ["haskell", "lhaskell"]
},
"kotlin": {
"command": "kotlin-language-server",
"filetypes": ["kotlin"]
},
"graphql": {
"command": "graphql-lsp",
"args": ["server", "-m", "stream"],
"filetypes": ["graphql"]
}
},
"xml.codeLens.enabled": true,
// coc-pyright
"python.pythonPath": "python3",
"python.formatting.provider": "yapf",
// diagnostic-languageserver
"diagnostic-languageserver.filetypes": {
"vim": ["vint"],
"sh": ["shellcheck"],
"cpp": ["cpplint"],
"dockerfile": ["hadolint"],
"yaml": ["actionlint"]
},
"diagnostic-languageserver.formatFiletypes": {
"sh": "shfmt"
},
"clangd.arguments": [
"--background-index",
"--clang-tidy",
"--all-scopes-completion"
// "--inlay-hints"
],
"diagnostic-languageserver.linters": {
"vint": {
"command": "vint",
"debounce": 100,
// vint has issue with stdin, ref https://github.com/Vimjas/vint/issues/332
"args": ["--enable-neovim", "--no-color", "%file"],
"offsetLine": 0,
"offsetColumn": 0,
"sourceName": "vint",
"rootPatterns": [".vintrc.yml", ".git"],
"formatLines": 1,
"formatPattern": [
"[^:]+:(\\d+):(\\d+):\\s*(.*)(\\r|\\n)*$",
{
"line": 1,
"column": 2,
"message": 3
}
]
},
"cpplint": {
"command": "cpplint",
"args": ["%file"],
"debounce": 100,
"isStderr": true,
"isStdout": false,
"sourceName": "cpplint",
"offsetLine": 0,
"offsetColumn": 0,
"rootPatterns": [ "CPPLINT.cfg", ".git" ],
"formatPattern": [
"^[^:]+:(\\d+):(\\d+)?\\s+(.+?)\\s\\[(\\d)\\]$",
{
"line": 1,
"column": 2,
"message": 3,
"security": 4
}
],
"securities": {
"1": "info",
"2": "warning",
"3": "warning",
"4": "warning",
"5": "error"
}
},
"actionlint": {
"command": "actionlint",
"args": ["%file"],
"sourceName": "actionlint",
"rootPatterns": [".github"],
"ignore": ["/*", "!/.github", "/.github/*", "!/.github/workflows"],
"formatPattern": [
"^[^:]+:(\\d+):(\\d+):\\s+(.+)$",
{
"line": 1,
"column": 2,
"message": 3
}
]
}
},
"diagnostic-languageserver.formatters": {
"black": {
"command": "black",
"args": ["-q", "-"]
},
"isort": {
"command": "isort",
"args": ["-q", "-"]
},
"docformatter": {
"command": "docformatter",
"args": ["-"]
}
},
"Lua.hint.enable": true,
"Lua.hint.setType": true,
"Lua.runtime.version": "LuaJIT",
"sumneko-lua.enableNvimLuaDev": true,
"git.enableGutters": false,
"git.addGBlameToVirtualText": true,
"snippets.ultisnips.pythonPrompt": false
}