mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
Update grammar to textmate/shellscript.tmbundle@887a69b (2016-04-28). Fixes 10314
This commit is contained in:
parent
fbebca5527
commit
c927cca365
|
@ -3,6 +3,9 @@
|
|||
"version": "0.1.0",
|
||||
"publisher": "vscode",
|
||||
"engines": { "vscode": "*" },
|
||||
"scripts": {
|
||||
"update-grammar": "node ../../build/npm/update-grammar.js textmate/shellscript.tmbundle Syntaxes/Shell-Unix-Bash.tmLanguage ./syntaxes/Shell-Unix-Bash.tmLanguage.json"
|
||||
},
|
||||
"contributes": {
|
||||
"languages": [{
|
||||
"id": "shellscript",
|
||||
|
@ -16,7 +19,7 @@
|
|||
"grammars": [{
|
||||
"language": "shellscript",
|
||||
"scopeName": "source.shell",
|
||||
"path": "./syntaxes/Shell-Unix-Bash.tmLanguage"
|
||||
"path": "./syntaxes/Shell-Unix-Bash.tmLanguage.json"
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
1221
extensions/shellscript/syntaxes/Shell-Unix-Bash.tmLanguage.json
Normal file
1221
extensions/shellscript/syntaxes/Shell-Unix-Bash.tmLanguage.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -7,6 +7,9 @@ else
|
|||
ROOT=$(dirname $(dirname $(readlink -f $0)))
|
||||
fi
|
||||
|
||||
DEVELOPER=$(xcode-select -print-path)
|
||||
LIPO=$(xcrun -sdk iphoneos -find lipo)
|
||||
|
||||
function code() {
|
||||
cd $ROOT
|
||||
|
||||
|
|
|
@ -989,6 +989,94 @@
|
|||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control rgb(86, 156, 214)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "DEVELOPER=",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
|
||||
"light_plus": ".vs .token rgb(0, 0, 0)",
|
||||
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
|
||||
"light_vs": ".vs .token rgb(0, 0, 0)",
|
||||
"hc_black": ".hc-black .token rgb(255, 255, 255)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "$(",
|
||||
"t": "begin.definition.dollar.interpolated.punctuation.shell.string",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "xcode-select -print-path",
|
||||
"t": "dollar.interpolated.shell.string",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "definition.dollar.end.interpolated.punctuation.shell.string",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "LIPO=",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
|
||||
"light_plus": ".vs .token rgb(0, 0, 0)",
|
||||
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
|
||||
"light_vs": ".vs .token rgb(0, 0, 0)",
|
||||
"hc_black": ".hc-black .token rgb(255, 255, 255)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "$(",
|
||||
"t": "begin.definition.dollar.interpolated.punctuation.shell.string",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "xcrun -sdk iphoneos -find lipo",
|
||||
"t": "dollar.interpolated.shell.string",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "definition.dollar.end.interpolated.punctuation.shell.string",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "function",
|
||||
"t": "function.meta.shell.storage.type",
|
||||
|
@ -1012,7 +1100,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"c": "code()",
|
||||
"c": "code",
|
||||
"t": "entity.function.meta.name.shell",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function rgb(220, 220, 170)",
|
||||
|
@ -1022,6 +1110,17 @@
|
|||
"hc_black": ".hc-black .token rgb(255, 255, 255)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "()",
|
||||
"t": "arguments.definition.function.meta.punctuation.shell",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
|
||||
"light_plus": ".vs .token rgb(0, 0, 0)",
|
||||
"dark_vs": ".vs-dark .token rgb(212, 212, 212)",
|
||||
"light_vs": ".vs .token rgb(0, 0, 0)",
|
||||
"hc_black": ".hc-black .token rgb(255, 255, 255)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "function.meta.shell",
|
||||
|
|
Loading…
Reference in a new issue