Try out new shellscript grammar! (#169118)

Part of #77675
This commit is contained in:
Alex Ross 2022-12-14 12:52:31 +01:00 committed by GitHub
parent 8b939ad54b
commit fcb4dd3b18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 2219 additions and 954 deletions

View file

@ -4,14 +4,13 @@
"component": { "component": {
"type": "git", "type": "git",
"git": { "git": {
"name": "atom/language-shellscript", "name": "jeff-hykin/better-shell-syntax",
"repositoryUrl": "https://github.com/atom/language-shellscript", "repositoryUrl": "https://github.com/jeff-hykin/better-shell-syntax",
"commitHash": "4f8d7bb5cc4d1643674551683df10fe552dd5a6f" "commitHash": "b05618771b35b4baa25661dff91170b4924fdac8"
} }
}, },
"license": "MIT", "license": "MIT",
"description": "The file syntaxes/shell-unix-bash.tmLanguage.json was derived from the Atom package https://github.com/atom/language-shellscript which was originally converted from the TextMate bundle https://github.com/textmate/shellscript.tmbundle.", "version": "1.2.8"
"version": "0.28.2"
} }
], ],
"version": 1 "version": 1

View file

@ -9,7 +9,7 @@
"vscode": "*" "vscode": "*"
}, },
"scripts": { "scripts": {
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin atom/language-shellscript grammars/shell-unix-bash.cson ./syntaxes/shell-unix-bash.tmLanguage.json" "update-grammar": "node ../node_modules/vscode-grammar-updater/bin jeff-hykin/better-shell-syntax autogenerated/shell.tmLanguage.json ./syntaxes/shell-unix-bash.tmLanguage.json"
}, },
"contributes": { "contributes": {
"languages": [ "languages": [

File diff suppressed because it is too large Load diff

View file

@ -561,7 +561,7 @@
}, },
{ {
"c": "\"", "c": "\"",
"t": "text.html.derivative meta.tag.inline.a.start.html meta.attribute.event-handler.blur.html meta.embedded.line.js string.quoted.double.html punctuation.definition.string.end.html source.js-ignored-vscode", "t": "text.html.derivative meta.tag.inline.a.start.html meta.attribute.event-handler.blur.html meta.embedded.line.js string.quoted.double.html punctuation.definition.string.end.html source.js",
"r": { "r": {
"dark_plus": "string: #CE9178", "dark_plus": "string: #CE9178",
"light_plus": "string.quoted.double.html: #0000FF", "light_plus": "string.quoted.double.html: #0000FF",
@ -659,7 +659,7 @@
}, },
{ {
"c": "'", "c": "'",
"t": "text.html.derivative meta.tag.inline.a.start.html meta.attribute.event-handler.click.html meta.embedded.line.js string.quoted.single.html punctuation.definition.string.end.html source.js-ignored-vscode", "t": "text.html.derivative meta.tag.inline.a.start.html meta.attribute.event-handler.click.html meta.embedded.line.js string.quoted.single.html punctuation.definition.string.end.html source.js",
"r": { "r": {
"dark_plus": "string: #CE9178", "dark_plus": "string: #CE9178",
"light_plus": "string.quoted.single.html: #0000FF", "light_plus": "string.quoted.single.html: #0000FF",
@ -897,7 +897,7 @@
}, },
{ {
"c": "\"", "c": "\"",
"t": "text.html.derivative meta.tag.structure.div.start.html meta.attribute.style.html meta.embedded.line.css string.quoted.double.html punctuation.definition.string.end.html source.css-ignored-vscode", "t": "text.html.derivative meta.tag.structure.div.start.html meta.attribute.style.html meta.embedded.line.css string.quoted.double.html punctuation.definition.string.end.html source.css",
"r": { "r": {
"dark_plus": "string: #CE9178", "dark_plus": "string: #CE9178",
"light_plus": "string.quoted.double.html: #0000FF", "light_plus": "string.quoted.double.html: #0000FF",
@ -1065,7 +1065,7 @@
}, },
{ {
"c": "'", "c": "'",
"t": "text.html.derivative meta.tag.structure.div.start.html meta.attribute.style.html meta.embedded.line.css string.quoted.single.html punctuation.definition.string.end.html source.css-ignored-vscode", "t": "text.html.derivative meta.tag.structure.div.start.html meta.attribute.style.html meta.embedded.line.css string.quoted.single.html punctuation.definition.string.end.html source.css",
"r": { "r": {
"dark_plus": "string: #CE9178", "dark_plus": "string: #CE9178",
"light_plus": "string.quoted.single.html: #0000FF", "light_plus": "string.quoted.single.html: #0000FF",