Skip to content

Commit

Permalink
Touch ups
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Dec 3, 2023
1 parent 3d1929b commit 7d9d369
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion images/TextMate-file-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/TextMate-logo-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
"color": "#791082",
"theme": "dark"
},
"badges": [
{
"description": "Documentation",
"href": "https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/main/documentation/index.md",
"url": "https://raw.githubusercontent.com/RedCMD/TmLanguage-Syntax-Highlighter/main/images/TextMate-logo-icon.png"
}
],
"keywords": [
"tmlanguage",
"languages",
Expand Down
3 changes: 1 addition & 2 deletions syntaxes/json.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
]
},
"fileTypes": {
"comment": "\"fileTypes\": \"...\"",
"comment": "\"fileTypes\": [ \"...\" ]",
"//": "Vscode's TextMate acknowledges \"fileTypes\" but doesn't do anything with it",
"begin": "(\")(fileTypes)(\")",
"end": "(?<=])|(?=[},])",
Expand Down Expand Up @@ -971,7 +971,6 @@
]
}
},
"//": [ true ],
"begin": "(\")(//)(\")",
"end": "(?<=[]}\"])(?!\\G)|(?=[},])",
"beginCaptures": {
Expand Down
2 changes: 1 addition & 1 deletion vscode.tmLanguage.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"repository": { "$ref": "#/definitions/repository" },
"injections": {
"description": "A dictionary of injections. They do NOT work when the grammar is embedded into another lanuage",
"description": "A dictionary of injections. They do NOT work when the grammar is embedded into another language",
"type": "object",
"additionalProperties": {
"description": "An injection selector. https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#injection-grammars",
Expand Down

0 comments on commit 7d9d369

Please sign in to comment.