-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
268 lines (268 loc) · 8.85 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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
{
"name": "coc-html",
"version": "1.8.0",
"description": "Html extension for coc.nvim",
"main": "lib/index.js",
"publisher": "chemzqm",
"engines": {
"coc": "^0.0.80"
},
"keywords": [
"html",
"coc.nvim",
"languageserver"
],
"scripts": {
"build": "node esbuild.js",
"prepare": "node esbuild.js"
},
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "HTML",
"properties": {
"html.execArgv": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"html.filetypes": {
"type": "array",
"default": [
"html",
"handlebars",
"htmldjango",
"blade"
],
"items": {
"type": "string"
}
},
"html.customData": {
"type": "array",
"markdownDescription": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\ncoc-html loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.",
"default": [],
"items": {
"type": "string"
},
"scope": "resource"
},
"html.completion.attributeDefaultValue": {
"type": "string",
"scope": "resource",
"enum": [
"doublequotes",
"singlequotes",
"empty"
],
"enumDescriptions": [
"Attribute value is set to \"\"",
"Attribute value is set to ''",
"Attribute value is not set"
],
"default": "doublequotes",
"description": "Controls the default value for attributes when completion is accepted"
},
"html.format.enable": {
"type": "boolean",
"scope": "window",
"default": true,
"description": "Enable/disable default HTML formatter"
},
"html.format.wrapLineLength": {
"type": "integer",
"scope": "resource",
"default": 120,
"description": "Maximum amount of characters per line (0 = disable)"
},
"html.format.unformatted": {
"type": [
"string",
"null"
],
"scope": "resource",
"default": "wbr",
"description": "List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content"
},
"html.format.contentUnformatted": {
"type": [
"string",
"null"
],
"scope": "resource",
"default": "pre,code,textarea",
"description": "List of tags, comma separated, where the content shouldn't be reformatted. 'null' defaults to the 'pre' tag"
},
"html.format.indentInnerHtml": {
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Indent `<head>` and `<body>` sections"
},
"html.format.preserveNewLines": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Controls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text"
},
"html.format.maxPreserveNewLines": {
"type": [
"number",
"null"
],
"scope": "resource",
"default": null,
"markdownDescription": "Maximum number of line breaks to be preserved in one chunk. Use `null` for unlimited"
},
"html.format.indentHandlebars": {
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Format and indent `{{#foo}}` and `{{/foo}}`"
},
"html.format.extraLiners": {
"type": [
"string",
"null"
],
"scope": "resource",
"default": "head, body, /html",
"markdownDescription": "List of tags, comma separated, that should have an extra newline before them. `null` defaults to `\"head, body, /html\"`"
},
"html.format.wrapAttributes": {
"type": "string",
"scope": "resource",
"default": "auto",
"enum": [
"auto",
"force",
"force-aligned",
"force-expand-multiline",
"aligned-multiple",
"preserve",
"preserve-aligned"
],
"enumDescriptions": [
"Wrap attributes only when line length is exceeded",
"Wrap each attribute except first",
"Wrap each attribute except first and keep aligned",
"Wrap each attribute",
"Wrap when line length is exceeded, align attributes vertically",
"Preserve wrapping of attributes",
"Preserve wrapping of attributes but align"
],
"description": "Wrap attributes"
},
"html.format.wrapAttributesIndentSize": {
"type": [
"number",
"null"
],
"scope": "resource",
"default": null,
"markdownDescription": "Alignment size when using 'force aligned' and 'aligned multiple' in `#html.format.wrapAttributes#` or `null` to use the default indent size"
},
"html.format.templating": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "Honor django, erb, handlebars and php templating language tags"
},
"html.format.unformattedContentDelimiter": {
"type": "string",
"scope": "resource",
"default": "",
"markdownDescription": "Keep text content together between this string"
},
"html.suggest.html5": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Configures if the built-in HTML language support suggests HTML5 tags, properties and values"
},
"html.validate.scripts": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Configures if the built-in HTML language support validates embedded scripts"
},
"html.validate.styles": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Configures if the built-in HTML language support validates embedded styles"
},
"html.autoClosingTags": {
"type": "boolean",
"default": true,
"description": "Enable/disable autoClosing of HTML tags"
},
"html.autoCreateQuotes": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Enable/disable auto creation of quotes for HTML attribute assignment."
},
"html.hover.documentation": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Show tag and attribute documentation in hover"
},
"html.hover.references": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Show references to MDN in hover"
},
"html.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between coc.nvim and the HTML language server"
}
}
},
"jsonValidation": [
{
"fileMatch": "*.html-data.json",
"url": "https://github.com/raw/microsoft/vscode-html-languageservice/master/docs/customData.schema.json"
},
{
"fileMatch": "package.json",
"url": "./schemas/package.schema.json"
}
]
},
"author": "chemzqm@gmail.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/neoclide/coc-html.git"
},
"devDependencies": {
"@types/node": "^12.12.0",
"coc.nvim": "^0.0.81-next.8",
"esbuild": "^0.14.7",
"vscode-css-languageservice": "^6.1.1",
"vscode-html-languageservice": "^5.0.2",
"vscode-languageserver": "^8.1.0-next.1",
"vscode-languageserver-textdocument": "^1.0.7",
"vscode-languageserver-types": "3.15.1",
"vscode-languageserver-protocol": "^3.17.2",
"vscode-nls": "^5.2.0",
"vscode-uri": "^3.0.6"
},
"dependencies": {
"typescript": "^4.3"
}
}