Skip to content

Commit

Permalink
chore: update grammars and themes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 22, 2024
1 parent b589f50 commit 00450c0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion latest-shiki-commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f877f31226a95bb855830eb0a3b3ba0dd71a9d4a
f256577e90a76a3a830da1a79a9eb1bdedeb3fbb
2 changes: 1 addition & 1 deletion vendor/phiki/phiki/resources/languages/hcl.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
}
},
"block": {
"begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]*([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
"begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]+([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
"beginCaptures": {
"1": {
"patterns": [
Expand Down
36 changes: 36 additions & 0 deletions vendor/phiki/phiki/resources/languages/vue.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"displayName": "Vue",
"name": "vue",
"patterns": [
{
"include": "#vue-comments"
},
{
"include": "text.html.basic#comment"
},
Expand Down Expand Up @@ -967,6 +970,39 @@
}
]
},
"vue-comments": {
"patterns": [
{
"include": "#vue-comments-key-value"
}
]
},
"vue-comments-key-value": {
"begin": "(<!--)\\s*(@)([\\w$]+)(?=\\s)",
"beginCaptures": {
"1": {
"name": "punctuation.definition.comment.vue"
},
"2": {
"name": "punctuation.definition.block.tag.comment.vue"
},
"3": {
"name": "storage.type.class.comment.vue"
}
},
"end": "(-->)",
"endCaptures": {
"1": {
"name": "punctuation.definition.comment.vue"
}
},
"name": "comment.block.vue",
"patterns": [
{
"include": "source.json#value"
}
]
},
"vue-directives": {
"patterns": [
{
Expand Down

0 comments on commit 00450c0

Please sign in to comment.