Skip to content

Commit

Permalink
Unofficially allow array of "injectionSelector"
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Aug 24, 2024
1 parent e201485 commit 2efd33f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syntaxes/json.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@
"patterns": [ { "include": "#injection-string" } ]
},
{
"comment": "An array of `\"injectionSelector\"` is not offically supported by VSCode TextMate. But still happens to work because JavaScript",
"begin": "\\[",
"end": "]",
"beginCaptures": { "0": { "name": "punctuation.definition.array.begin.json.tm" } },
Expand Down

0 comments on commit 2efd33f

Please sign in to comment.