astro-vscode 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +2 -2
- package/syntaxes/astro.tmLanguage.json +33 -23
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"color": "#FFBE2D",
|
|
9
9
|
"theme": "dark"
|
|
10
10
|
},
|
|
11
|
-
"version": "0.8.
|
|
11
|
+
"version": "0.8.3",
|
|
12
12
|
"author": "Astro",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"publisher": "astro-build",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"onLanguage:astro"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@astrojs/language-server": "0.8.
|
|
27
|
+
"@astrojs/language-server": "0.8.3",
|
|
28
28
|
"@astrojs/ts-plugin": "0.1.0",
|
|
29
29
|
"vscode-emmet-helper": "2.1.2",
|
|
30
30
|
"vscode-html-languageservice": "^3.0.3",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"astro:lang": {
|
|
106
|
-
"begin": "(<)(?:(S(?i:cript|tyle))|((?i:script|style)))\\
|
|
106
|
+
"begin": "(<)(?:(S(?i:cript|tyle))|((?i:script|style)))(?![\\w:-])",
|
|
107
107
|
"beginCaptures": {
|
|
108
108
|
"0": {
|
|
109
109
|
"name": "meta.tag.metadata.$2$3.start.html"
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"name": "entity.name.tag.html"
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
|
-
"end": "(</)(?:(S(?i:cript|tyle))|((?i:script|style)))\\s*(>)",
|
|
121
|
+
"end": "(</)(?:(S(?i:cript|tyle))|((?i:script|style)))(?![\\w:-])\\s*(>)",
|
|
122
122
|
"endCaptures": {
|
|
123
123
|
"0": {
|
|
124
124
|
"name": "meta.tag.metadata.$2$3.end.html"
|
|
@@ -152,9 +152,9 @@
|
|
|
152
152
|
]
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
"name": "source.css.embedded.html",
|
|
156
155
|
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:css)\\1[^>]*>)(?!\\G)",
|
|
157
|
-
"end": "(?=</
|
|
156
|
+
"end": "(?=</[\\w:-])",
|
|
157
|
+
"contentName": "source.css",
|
|
158
158
|
"patterns": [
|
|
159
159
|
{
|
|
160
160
|
"include": "source.css"
|
|
@@ -162,9 +162,9 @@
|
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
|
-
"name": "source.js.embedded.html",
|
|
166
165
|
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:jsx?)\\1[^>]*>)(?!\\G)",
|
|
167
|
-
"end": "(?=</
|
|
166
|
+
"end": "(?=</[\\w:-])",
|
|
167
|
+
"contentName": "source.js",
|
|
168
168
|
"patterns": [
|
|
169
169
|
{
|
|
170
170
|
"include": "source.js"
|
|
@@ -172,9 +172,9 @@
|
|
|
172
172
|
]
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
"name": "source.less.embedded.html",
|
|
176
175
|
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:less)\\1[^>]*>)(?!\\G)",
|
|
177
|
-
"end": "(?=</
|
|
176
|
+
"end": "(?=</[\\w:-])",
|
|
177
|
+
"contentName": "source.css.css",
|
|
178
178
|
"patterns": [
|
|
179
179
|
{
|
|
180
180
|
"include": "source.css.less"
|
|
@@ -182,9 +182,9 @@
|
|
|
182
182
|
]
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
"name": "source.sass.embedded.html",
|
|
186
185
|
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:sass)\\1[^>]*>)(?!\\G)",
|
|
187
|
-
"end": "(?=</
|
|
186
|
+
"end": "(?=</[\\w:-])",
|
|
187
|
+
"contentName": "source.sass",
|
|
188
188
|
"patterns": [
|
|
189
189
|
{
|
|
190
190
|
"include": "source.sass"
|
|
@@ -192,9 +192,9 @@
|
|
|
192
192
|
]
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
"name": "source.scss.embedded.html",
|
|
196
195
|
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:scss)\\1[^>]*>)(?!\\G)",
|
|
197
|
-
"end": "(?=</
|
|
196
|
+
"end": "(?=</[\\w:-])",
|
|
197
|
+
"contentName": "source.css.scss",
|
|
198
198
|
"patterns": [
|
|
199
199
|
{
|
|
200
200
|
"include": "source.css.scss"
|
|
@@ -202,9 +202,9 @@
|
|
|
202
202
|
]
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
"name": "source.stylus.embedded.html",
|
|
206
205
|
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:styl(?:us)?)\\1[^>]*>)(?!\\G)",
|
|
207
|
-
|
|
206
|
+
"end": "(?=</[\\w:-])",
|
|
207
|
+
"contentName": "source.stylus",
|
|
208
208
|
"patterns": [
|
|
209
209
|
{
|
|
210
210
|
"include": "source.stylus"
|
|
@@ -212,9 +212,19 @@
|
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"
|
|
215
|
+
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:ts)\\1[^>]*>)(?!\\G)",
|
|
216
|
+
"end": "(?=</[\\w:-])",
|
|
217
|
+
"contentName": "source.ts",
|
|
218
|
+
"patterns": [
|
|
219
|
+
{
|
|
220
|
+
"include": "source.ts"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:tsx)\\1[^>]*>)(?!\\G)",
|
|
226
|
+
"end": "(?=</[\\w:-])",
|
|
227
|
+
"contentName": "source.tsx",
|
|
218
228
|
"patterns": [
|
|
219
229
|
{
|
|
220
230
|
"include": "source.tsx"
|
|
@@ -222,9 +232,9 @@
|
|
|
222
232
|
]
|
|
223
233
|
},
|
|
224
234
|
{
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
235
|
+
"begin": "(?<=<(?i:script)[^>]*>)(?!\\G)",
|
|
236
|
+
"end": "(?=</[\\w:-])",
|
|
237
|
+
"contentName": "source.js",
|
|
228
238
|
"patterns": [
|
|
229
239
|
{
|
|
230
240
|
"include": "source.js"
|
|
@@ -232,9 +242,9 @@
|
|
|
232
242
|
]
|
|
233
243
|
},
|
|
234
244
|
{
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
245
|
+
"begin": "(?<=<(?i:style)[^>]*>)(?!\\G)",
|
|
246
|
+
"end": "(?=</[\\w:-])",
|
|
247
|
+
"contentName": "source.css",
|
|
238
248
|
"patterns": [
|
|
239
249
|
{
|
|
240
250
|
"include": "source.css"
|