Skip to content

Commit 051c05f

Browse files
chore: update grammars and themes
1 parent 08a66f4 commit 051c05f

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

latest-shiki-commit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
accc0ce1a0152d39c81d3b1f34f27118a6bedaf9
1+
acd871dfabc64e131089e60aefaf412f0e5053f3

vendor/phiki/phiki/resources/languages/vue.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,27 +1016,27 @@
10161016
"include": "#vue-directives-control"
10171017
},
10181018
{
1019-
"include": "#vue-directives-style-attr"
1019+
"include": "#vue-directives-generic-attr"
10201020
},
10211021
{
1022-
"include": "#vue-directives-original"
1022+
"include": "#vue-directives-style-attr"
10231023
},
10241024
{
1025-
"include": "#vue-directives-generic-attr"
1025+
"include": "#vue-directives-original"
10261026
}
10271027
]
10281028
},
10291029
"vue-directives-control": {
1030-
"begin": "(v-for)|(v-(?:if|else-if|else))",
1031-
"captures": {
1030+
"begin": "(?:(v-for)|(v-(?:if|else-if|else)))(?==)",
1031+
"beginCaptures": {
10321032
"1": {
10331033
"name": "keyword.control.loop.vue"
10341034
},
10351035
"2": {
10361036
"name": "keyword.control.conditional.vue"
10371037
}
10381038
},
1039-
"end": "(?=\\s*+[^=\\s])",
1039+
"end": "(?=\\s*[^=\\s])",
10401040
"name": "meta.attribute.directive.control.vue",
10411041
"patterns": [
10421042
{
@@ -1100,7 +1100,7 @@
11001100
},
11011101
"vue-directives-generic-attr": {
11021102
"begin": "\\b(generic)\\s*(=)",
1103-
"captures": {
1103+
"beginCaptures": {
11041104
"1": {
11051105
"name": "entity.other.attribute-name.html.vue"
11061106
},
@@ -1184,11 +1184,6 @@
11841184
}
11851185
},
11861186
"end": "(?=\\s*[^=\\s])",
1187-
"endCaptures": {
1188-
"1": {
1189-
"name": "punctuation.definition.string.end.html.vue"
1190-
}
1191-
},
11921187
"name": "meta.attribute.directive.vue",
11931188
"patterns": [
11941189
{
@@ -1207,7 +1202,7 @@
12071202
},
12081203
"vue-directives-style-attr": {
12091204
"begin": "\\b(style)\\s*(=)",
1210-
"captures": {
1205+
"beginCaptures": {
12111206
"1": {
12121207
"name": "entity.other.attribute-name.html.vue"
12131208
},

0 commit comments

Comments
 (0)