-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
239 lines (239 loc) · 6.36 KB
/
package.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
{
"name": "coc-solargraph",
"version": "1.2.4",
"description": "Ruby languageserver extension for coc.nvim, using solargraph",
"main": "lib/index.js",
"publisher": "chemzqm",
"engines": {
"coc": "^0.0.80"
},
"keywords": [
"coc.nvim",
"solargraph",
"ruby"
],
"scripts": {
"prepare": "node esbuild.js"
},
"activationEvents": [
"onLanguage:ruby",
"onCommand:solargraph.search",
"onCommand:solargraph.restart",
"onCommand:solargraph.config",
"onCommand:solargraph.downloadCore"
],
"contributes": {
"rootPatterns": [
{
"filetype": "ruby",
"patterns": [
".solargraph.yml",
"Gemfile"
]
}
],
"configuration": {
"title": "Solargraph settings for Ruby",
"properties": {
"solargraph.trace.server": {
"type": "string",
"default": "off",
"enum": [
"off",
"messages",
"verbose"
]
},
"solargraph.shell": {
"type": [
"null",
"string"
],
"default": null,
"description": "Shell used to launch solargraph server"
},
"solargraph.transport": {
"type": "string",
"default": "socket",
"enum": [
"socket",
"stdio",
"external"
],
"description": "The type of transport to use."
},
"solargraph.promptDownload": {
"type": "boolean",
"description": "Prompt for download solargraph gem when not found.",
"default": true
},
"solargraph.externalServer": {
"type": "object",
"description": "The host and port to use for external transports. (Ignored for stdio and socket transports.)",
"properties": {
"host": {
"type": "string",
"default": "localhost"
},
"port": {
"type": "integer",
"default": 7658
}
},
"default": {
"host": "localhost",
"port": 7658
}
},
"solargraph.commandPath": {
"type": "string",
"default": "solargraph",
"description": "Path to the solargraph command. Set this to an absolute path to select from multiple installed Ruby versions."
},
"solargraph.useBundler": {
"type": "boolean",
"description": "Use `bundle exec` to run solargraph. (If this is true, the solargraph.commandPath setting is ignored.)",
"default": false
},
"solargraph.bundlerPath": {
"type": "string",
"description": "Path to the bundle executable, defaults to 'bundle'",
"default": "bundle"
},
"solargraph.checkGemVersion": {
"type": "boolean",
"description": "Automatically check if a new version of the Solargraph gem is available.",
"default": true
},
"solargraph.completion": {
"type": [
"boolean"
],
"description": "Enable completion",
"default": true
},
"solargraph.hover": {
"type": [
"boolean"
],
"description": "Enable hover",
"default": true
},
"solargraph.diagnostics": {
"type": [
"boolean"
],
"description": "Enable diagnostics",
"default": false
},
"solargraph.autoformat": {
"type": [
"boolean"
],
"description": "Enable automatic formatting while typing (WARNING: experimental)",
"default": false
},
"solargraph.formatting": {
"type": [
"boolean"
],
"description": "Enable document formatting",
"default": false
},
"solargraph.symbols": {
"type": [
"boolean"
],
"description": "Enable symbols",
"default": true
},
"solargraph.definitions": {
"type": [
"boolean"
],
"description": "Enable definitions (go to, etc.)",
"default": true
},
"solargraph.rename": {
"type": [
"boolean"
],
"description": "Enable symbol renaming",
"default": true
},
"solargraph.references": {
"type": [
"boolean"
],
"description": "Enable finding references",
"default": true
},
"solargraph.folding": {
"type": "boolean",
"description": "Enable folding ranges",
"default": true
},
"solargraph.logLevel": {
"type": "string",
"description": "Level of debug info to log. `warn` is least and `debug` is most.",
"enum": [
"warn",
"info",
"debug"
],
"default": "warn"
}
}
},
"commands": [
{
"command": "solargraph.search",
"title": "Search Ruby Documentation",
"category": "Solargraph"
},
{
"command": "solargraph.config",
"title": "Create a Solargraph config file",
"category": "Solargraph"
},
{
"command": "solargraph.checkGemVersion",
"title": "Check Solargraph gem version",
"category": "Solargraph"
},
{
"command": "solargraph.downloadCore",
"title": "Download current Ruby documentation",
"category": "Solargraph"
},
{
"command": "solargraph.buildGemDocs",
"title": "Build new gem documentation",
"category": "Solargraph"
},
{
"command": "solargraph.rebuildAllGemDocs",
"title": "Rebuild all gem documentation",
"category": "Solargraph"
},
{
"command": "solargraph.environment",
"title": "Get environment info",
"category": "Solargraph"
}
]
},
"author": "chemzqm@gmail.com",
"license": "MIT",
"devDependencies": {
"@types/node": "^10.12.0",
"coc.nvim": "0.0.81-next.23",
"esbuild": "^0.8.29",
"solargraph-utils": "^1.2.0",
"tslib": "^1.10.0",
"typescript": "^4.6.3",
"turndown": "^7.0.0",
"which": "^2.0.2"
},
"dependencies": {}
}