Skip to content

Commit d3c3757

Browse files
committed
Simplify include schema regex
1 parent ae4016d commit d3c3757

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vscode.tmLanguage.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/RedCMD/TmLanguage-Syntax-Highlighter/main/vscode.tmLanguage.schema.json",
44
"title": "VSCode JSON TextMate",
5-
"markdownDescription": "[Documentation](https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/main/documentation/index.md) | [Schema](https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/main/vscode.tmLanguage.schema.json)",
65
"$comment": "https://opis.io/json-schema/2.x/",
76
"allowComments": false,
87
"allowTrailingCommas": false,
98
"$ref": "#/definitions/root",
109
"definitions": {
1110
"root": {
11+
"markdownDescription": "[Documentation](https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/main/documentation/index.md) | [Schema](https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/main/vscode.tmLanguage.schema.json)",
1212
"type": "object",
1313
"required": [
1414
"scopeName",
@@ -987,7 +987,7 @@
987987
"include": {
988988
"description": "Reference an item in a repository",
989989
"type": "string",
990-
"pattern": "^[\\w\\-.$]*#?[\\w\\-#. $]*$",
990+
"pattern": "^[\\w.#$-]*$",
991991
"defaultSnippets": [
992992
{
993993
"label": "#repo-item",

0 commit comments

Comments
 (0)