Skip to content

Commit

Permalink
Fix standardTokenType scopeName strings from disabling brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Dec 1, 2024
1 parent a74d95c commit 8b3071b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion syntaxes/JSON.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{
"begin": "(?=\"((?>[^\\\\\"]++|\\\\.)*+)\")",
"end": "(?!\\G)(?<=,)|(?=})",
"name": ".$1.",
"name": ".meta.embedded.$1.",
"patterns": [ { "include": "#objectpair" } ]
},
{ "include": "#objectpair" }
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/JSONC.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{
"begin": "(?=\"((?>[^\\\\\"]++|\\\\.)*+)\")",
"end": "(?!\\G)(?<=,)|(?=})",
"name": ".$1.",
"name": ".meta.embedded.$1.",
"patterns": [ { "include": "#objectpair" } ]
},
{ "include": "#objectpair" }
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/language-configuration.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"comment": "https://github.com/wraith13/vscode-schemas/blob/master/en/latest/schemas/language-configuration.json#L237-L258",
"name": "language-configuration",
"scopeName": "source.json.comments.language-configuration",
"injectionSelector": "L:source.json.comments .wordPattern. meta.structure.dictionary.value.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -meta.structure.array.json.comments -string -comment, L:source.json.comments .wordPattern. .pattern. meta.structure.dictionary.value.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -meta.structure.array.json.comments -string -comment",
"injectionSelector": "L:source.json.comments .meta.embedded.wordPattern. meta.structure.dictionary.value.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -meta.structure.array.json.comments -string -comment, L:source.json.comments .meta.embedded.wordPattern. .meta.embedded.pattern. meta.structure.dictionary.value.json.comments -(meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments) -meta.structure.array.json.comments -string -comment",
"patterns": [
{ "include": "#wordPattern" }
],
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/legacy_tox_ini.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"comment": "https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/pyproject.json",
"name": "json.legacy_tox_ini",
"scopeName": "source.json.legacy_tox_ini",
"injectionSelector": "L:source.json .tool. .tox. .legacy_tox_ini. meta.structure.dictionary.value.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -meta.structure.array.json -string -comment",
"injectionSelector": "L:source.json .meta.embedded.tool. .meta.embedded.tox. .meta.embedded.legacy_tox_ini. meta.structure.dictionary.value.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -meta.structure.array.json -string -comment",
"patterns": [
{ "include": "#legacy_tox_ini" }
],
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/scripts.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/RedCMD/TmLanguage-Syntax-Highlighter/main/vscode.tmLanguage.schema.json",
"name": "package.json",
"scopeName": "source.json.shellscript",
"injectionSelector": "L:source.json .scripts. meta.structure.dictionary.json meta.structure.dictionary.value.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -meta.structure.array.json -string -comment",
"injectionSelector": "L:source.json .meta.embedded.scripts. meta.structure.dictionary.json meta.structure.dictionary.value.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -meta.structure.array.json -string -comment",
"patterns": [
{ "include": "#scripts" }
],
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/test.query.sql.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"comment": "https://github.com/omnigres/omnigres/blob/master/pg_yregress/schema.json#L190",
"name": "json.query",
"scopeName": "source.json.sql",
"injectionSelector": "L:source.json .test. .query. meta.structure.dictionary.value.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -meta.structure.array.json -string -comment",
"injectionSelector": "L:source.json .meta.embedded.test. .meta.embedded.query. meta.structure.dictionary.value.json -(meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json) -meta.structure.array.json -string -comment",
"patterns": [
{ "include": "#query" }
],
Expand Down

0 comments on commit 8b3071b

Please sign in to comment.