diff --git a/extensions/shellscript/cgmanifest.json b/extensions/shellscript/cgmanifest.json index 6f0ae3a254e..1a444370322 100644 --- a/extensions/shellscript/cgmanifest.json +++ b/extensions/shellscript/cgmanifest.json @@ -4,14 +4,13 @@ "component": { "type": "git", "git": { - "name": "atom/language-shellscript", - "repositoryUrl": "https://github.com/atom/language-shellscript", - "commitHash": "4f8d7bb5cc4d1643674551683df10fe552dd5a6f" + "name": "jeff-hykin/better-shell-syntax", + "repositoryUrl": "https://github.com/jeff-hykin/better-shell-syntax", + "commitHash": "b05618771b35b4baa25661dff91170b4924fdac8" } }, "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": "0.28.2" + "version": "1.2.8" } ], "version": 1 diff --git a/extensions/shellscript/package.json b/extensions/shellscript/package.json index 7fa55ea680c..36031a33840 100644 --- a/extensions/shellscript/package.json +++ b/extensions/shellscript/package.json @@ -9,7 +9,7 @@ "vscode": "*" }, "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": { "languages": [ diff --git a/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json b/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json index bfbb5f135d0..cedbdfad988 100644 --- a/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json +++ b/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json @@ -1,60 +1,184 @@ { "information_for_contributors": [ - "This file has been converted from https://github.com/atom/language-shellscript/blob/master/grammars/shell-unix-bash.cson", + "This file has been converted from https://github.com/jeff-hykin/better-shell-syntax/blob/master/autogenerated/shell.tmLanguage.json", "If you want to provide a fix or improvement, please create a pull request against the original repository.", "Once accepted there, we are happy to receive an update request." ], - "version": "https://github.com/atom/language-shellscript/commit/4f8d7bb5cc4d1643674551683df10fe552dd5a6f", + "version": "https://github.com/jeff-hykin/better-shell-syntax/commit/b05618771b35b4baa25661dff91170b4924fdac8", "name": "Shell Script", "scopeName": "source.shell", "patterns": [ { - "include": "#comment" - }, - { - "include": "#pipeline" - }, - { - "include": "#list" - }, - { - "include": "#compound-command" - }, - { - "include": "#loop" - }, - { - "include": "#string" - }, - { - "include": "#function-definition" - }, - { - "include": "#variable" - }, - { - "include": "#interpolation" - }, - { - "include": "#heredoc" - }, - { - "include": "#herestring" - }, - { - "include": "#redirection" - }, - { - "include": "#pathname" - }, - { - "include": "#keyword" - }, - { - "include": "#support" + "include": "#initial_context" } ], "repository": { + "alias_statement": { + "begin": "(alias)(?:\\s)+\\s*+((?\\(\\)\\$`\\\\\"\\|]+(?!>)", + "captures": { + "0": { + "patterns": [ + { + "match": "\\*", + "name": "variable.language.special.wildcard.shell" + }, + { + "include": "#variable" + }, + { + "include": "#numeric_literal" + }, + { + "match": "(?|#|\\n|$|;|\\s))(.+?)(?:(?=\\s)|(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|#|\\])(?|#|\\n|$|;|\\s))(.+?)(?:(?=\\s)|(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|#|\\])(?|#|\\n|$|;|\\s)))", + "end": "(?:(?=\\s)|(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|#|\\])(? /path/file", - "t": "source.shell string.unquoted.heredoc.expanded.no-indent.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.heredoc.indent.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -1499,7 +1905,7 @@ }, { "c": "\t# A heredoc with a variable ", - "t": "source.shell string.unquoted.heredoc.expanded.no-indent.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.heredoc.indent.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -1513,7 +1919,7 @@ }, { "c": "$", - "t": "source.shell string.unquoted.heredoc.expanded.no-indent.shell variable.other.normal.shell punctuation.definition.variable.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.heredoc.indent.shell punctuation.definition.variable.shell variable.other.normal.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -1527,7 +1933,7 @@ }, { "c": "DEVELOPER", - "t": "source.shell string.unquoted.heredoc.expanded.no-indent.shell variable.other.normal.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.heredoc.indent.shell variable.other.normal.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -1541,7 +1947,7 @@ }, { "c": "\tsome more file", - "t": "source.shell string.unquoted.heredoc.expanded.no-indent.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.heredoc.indent.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -1555,16 +1961,16 @@ }, { "c": "EOF", - "t": "source.shell string.unquoted.heredoc.expanded.no-indent.shell keyword.control.heredoc-token.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.heredoc.indent.shell punctuation.definition.string.heredoc.shell", "r": { - "dark_plus": "keyword.control: #C586C0", - "light_plus": "keyword.control: #AF00DB", - "dark_vs": "keyword.control: #569CD6", - "light_vs": "keyword.control: #0000FF", - "hc_black": "keyword.control: #C586C0", - "dark_plus_experimental": "keyword.control: #C586C0", - "hc_light": "keyword.control: #B5200D", - "light_plus_experimental": "keyword.control: #AF00DB" + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" } }, { @@ -1639,7 +2045,7 @@ }, { "c": "\t", - "t": "source.shell meta.function.shell meta.scope.group.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1653,7 +2059,7 @@ }, { "c": "cd", - "t": "source.shell meta.function.shell meta.scope.group.shell support.function.builtin.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell entity.name.command.shell support.function.builtin.shell", "r": { "dark_plus": "support.function: #DCDCAA", "light_plus": "support.function: #795E26", @@ -1667,7 +2073,7 @@ }, { "c": " ", - "t": "source.shell meta.function.shell meta.scope.group.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell meta.argument.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1681,7 +2087,7 @@ }, { "c": "$", - "t": "source.shell meta.function.shell meta.scope.group.shell variable.other.normal.shell punctuation.definition.variable.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell meta.argument.shell punctuation.definition.variable.shell variable.other.normal.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -1695,7 +2101,7 @@ }, { "c": "ROOT", - "t": "source.shell meta.function.shell meta.scope.group.shell variable.other.normal.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell meta.argument.shell variable.other.normal.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -1709,7 +2115,7 @@ }, { "c": "\t", - "t": "source.shell meta.function.shell meta.scope.group.shell punctuation.whitespace.comment.leading.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1751,7 +2157,7 @@ }, { "c": "\t", - "t": "source.shell meta.function.shell meta.scope.group.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1765,7 +2171,7 @@ }, { "c": "test", - "t": "source.shell meta.function.shell meta.scope.group.shell support.function.builtin.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell entity.name.command.shell support.function.builtin.shell", "r": { "dark_plus": "support.function: #DCDCAA", "light_plus": "support.function: #795E26", @@ -1778,8 +2184,78 @@ } }, { - "c": " -d node_modules ", - "t": "source.shell meta.function.shell meta.scope.group.shell", + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": "-", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell string.unquoted.argument.shell constant.other.option.dash.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, + { + "c": "d", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell string.unquoted.argument constant.other.option", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, + { + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell meta.argument.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": "node_modules", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.argument.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, + { + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1806,8 +2282,8 @@ } }, { - "c": " ./scripts/npm.sh install", - "t": "source.shell meta.function.shell meta.scope.group.shell", + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1819,9 +2295,65 @@ "light_plus_experimental": "default: #000000E4" } }, + { + "c": ".", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell entity.name.command.shell support.function.builtin.shell", + "r": { + "dark_plus": "support.function: #DCDCAA", + "light_plus": "support.function: #795E26", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "support.function: #DCDCAA", + "dark_plus_experimental": "support.function: #DCDCAA", + "hc_light": "support.function: #5E2CBC", + "light_plus_experimental": "support.function: #795E26" + } + }, + { + "c": "/scripts/npm.sh", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell entity.name.command.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell meta.argument.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": "install", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.argument.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, { "c": "\t", - "t": "source.shell meta.function.shell meta.scope.group.shell punctuation.whitespace.comment.leading.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1877,7 +2409,7 @@ }, { "c": "export", - "t": "source.shell meta.function.shell meta.scope.group.shell storage.modifier.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell storage.modifier.export.shell", "r": { "dark_plus": "storage.modifier: #569CD6", "light_plus": "storage.modifier: #0000FF", @@ -1890,8 +2422,8 @@ } }, { - "c": " NODE_ENV=development", - "t": "source.shell meta.function.shell meta.scope.group.shell", + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.expression.assignment.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -1903,9 +2435,51 @@ "light_plus_experimental": "default: #000000E4" } }, + { + "c": "NODE_ENV", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.expression.assignment.shell variable.other.assignment.shell", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "variable: #9CDCFE", + "dark_plus_experimental": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_plus_experimental": "variable: #001080" + } + }, + { + "c": "=", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.expression.assignment.shell keyword.operator.assignment.shell", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_plus_experimental": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_plus_experimental": "keyword.operator: #000000" + } + }, + { + "c": "development", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.expression.assignment.shell string.unquoted.argument.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, { "c": "\t", - "t": "source.shell meta.function.shell meta.scope.group.shell punctuation.whitespace.comment.leading.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -2002,21 +2576,7 @@ } }, { - "c": " ", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.scope.logical-expression.shell", - "r": { - "dark_plus": "default: #D4D4D4", - "light_plus": "default: #000000", - "dark_vs": "default: #D4D4D4", - "light_vs": "default: #000000", - "hc_black": "default: #FFFFFF", - "dark_plus_experimental": "default: #FFFFFFD3", - "hc_light": "default: #292929", - "light_plus_experimental": "default: #000000E4" - } - }, - { - "c": "\"", + "c": " \"", "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.scope.logical-expression.shell string.quoted.double.shell punctuation.definition.string.begin.shell", "r": { "dark_plus": "string: #CE9178", @@ -2031,7 +2591,7 @@ }, { "c": "$", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.scope.logical-expression.shell string.quoted.double.shell variable.other.normal.shell punctuation.definition.variable.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.scope.logical-expression.shell string.quoted.double.shell punctuation.definition.variable.shell variable.other.normal.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -2100,21 +2660,7 @@ } }, { - "c": " ", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.scope.logical-expression.shell", - "r": { - "dark_plus": "default: #D4D4D4", - "light_plus": "default: #000000", - "dark_vs": "default: #D4D4D4", - "light_vs": "default: #000000", - "hc_black": "default: #FFFFFF", - "dark_plus_experimental": "default: #FFFFFFD3", - "hc_light": "default: #292929", - "light_plus_experimental": "default: #000000E4" - } - }, - { - "c": "\"", + "c": " \"", "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.scope.logical-expression.shell string.quoted.double.shell punctuation.definition.string.begin.shell", "r": { "dark_plus": "string: #CE9178", @@ -2199,16 +2745,16 @@ }, { "c": ";", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell keyword.operator.list.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell punctuation.terminator.statement.semicolon.shell", "r": { - "dark_plus": "keyword.operator: #D4D4D4", - "light_plus": "keyword.operator: #000000", - "dark_vs": "keyword.operator: #D4D4D4", - "light_vs": "keyword.operator: #000000", - "hc_black": "keyword.operator: #D4D4D4", - "dark_plus_experimental": "keyword.operator: #D4D4D4", - "hc_light": "keyword.operator: #000000", - "light_plus_experimental": "keyword.operator: #000000" + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" } }, { @@ -2227,7 +2773,7 @@ }, { "c": "then", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell keyword.control.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell keyword.control.then.shell", "r": { "dark_plus": "keyword.control: #C586C0", "light_plus": "keyword.control: #AF00DB", @@ -2241,7 +2787,7 @@ }, { "c": "\t\t", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -2255,35 +2801,7 @@ }, { "c": "exec", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell support.function.builtin.shell", - "r": { - "dark_plus": "support.function: #DCDCAA", - "light_plus": "support.function: #795E26", - "dark_vs": "default: #D4D4D4", - "light_vs": "default: #000000", - "hc_black": "support.function: #DCDCAA", - "dark_plus_experimental": "support.function: #DCDCAA", - "hc_light": "support.function: #5E2CBC", - "light_plus_experimental": "support.function: #795E26" - } - }, - { - "c": " ./.build/electron/Electron.app/Contents/MacOS/Electron ", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell", - "r": { - "dark_plus": "default: #D4D4D4", - "light_plus": "default: #000000", - "dark_vs": "default: #D4D4D4", - "light_vs": "default: #000000", - "hc_black": "default: #FFFFFF", - "dark_plus_experimental": "default: #FFFFFFD3", - "hc_light": "default: #292929", - "light_plus_experimental": "default: #000000E4" - } - }, - { - "c": ".", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell support.function.builtin.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell entity.name.command.shell support.function.builtin.shell", "r": { "dark_plus": "support.function: #DCDCAA", "light_plus": "support.function: #795E26", @@ -2297,7 +2815,63 @@ }, { "c": " ", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": "./.build/electron/Electron.app/Contents/MacOS/Electron", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.argument.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, + { + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": ".", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.argument.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, + { + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -2311,7 +2885,7 @@ }, { "c": "\"", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell punctuation.definition.string.begin.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.string.begin.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -2325,7 +2899,7 @@ }, { "c": "$", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell variable.other.special.shell punctuation.definition.variable.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.variable.shell variable.parameter.positional.all.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -2339,7 +2913,7 @@ }, { "c": "@", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell variable.other.special.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell variable.parameter.positional.all.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -2353,7 +2927,7 @@ }, { "c": "\"", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell punctuation.definition.string.end.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.string.end.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -2381,7 +2955,7 @@ }, { "c": "else", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell keyword.control.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell keyword.control.else.shell", "r": { "dark_plus": "keyword.control: #C586C0", "light_plus": "keyword.control: #AF00DB", @@ -2395,7 +2969,7 @@ }, { "c": "\t\t", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -2409,35 +2983,7 @@ }, { "c": "exec", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell support.function.builtin.shell", - "r": { - "dark_plus": "support.function: #DCDCAA", - "light_plus": "support.function: #795E26", - "dark_vs": "default: #D4D4D4", - "light_vs": "default: #000000", - "hc_black": "support.function: #DCDCAA", - "dark_plus_experimental": "support.function: #DCDCAA", - "hc_light": "support.function: #5E2CBC", - "light_plus_experimental": "support.function: #795E26" - } - }, - { - "c": " ./.build/electron/electron ", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell", - "r": { - "dark_plus": "default: #D4D4D4", - "light_plus": "default: #000000", - "dark_vs": "default: #D4D4D4", - "light_vs": "default: #000000", - "hc_black": "default: #FFFFFF", - "dark_plus_experimental": "default: #FFFFFFD3", - "hc_light": "default: #292929", - "light_plus_experimental": "default: #000000E4" - } - }, - { - "c": ".", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell support.function.builtin.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell entity.name.command.shell support.function.builtin.shell", "r": { "dark_plus": "support.function: #DCDCAA", "light_plus": "support.function: #795E26", @@ -2451,7 +2997,63 @@ }, { "c": " ", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": "./.build/electron/electron", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.argument.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, + { + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": ".", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.unquoted.argument.shell", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_plus_experimental": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_plus_experimental": "string: #A31515" + } + }, + { + "c": " ", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -2465,7 +3067,7 @@ }, { "c": "\"", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell punctuation.definition.string.begin.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.string.begin.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -2479,7 +3081,7 @@ }, { "c": "$", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell variable.other.special.shell punctuation.definition.variable.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.variable.shell variable.parameter.positional.all.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -2493,7 +3095,7 @@ }, { "c": "@", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell variable.other.special.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell variable.parameter.positional.all.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -2507,7 +3109,7 @@ }, { "c": "\"", - "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell string.quoted.double.shell punctuation.definition.string.end.shell", + "t": "source.shell meta.function.shell meta.scope.group.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.string.end.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -2562,8 +3164,22 @@ } }, { - "c": "code ", - "t": "source.shell", + "c": "code", + "t": "source.shell meta.statement.shell meta.command.shell entity.name.command.shell", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF", + "dark_plus_experimental": "default: #FFFFFFD3", + "hc_light": "default: #292929", + "light_plus_experimental": "default: #000000E4" + } + }, + { + "c": " ", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell", "r": { "dark_plus": "default: #D4D4D4", "light_plus": "default: #000000", @@ -2577,7 +3193,7 @@ }, { "c": "\"", - "t": "source.shell string.quoted.double.shell punctuation.definition.string.begin.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.string.begin.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515", @@ -2591,7 +3207,7 @@ }, { "c": "$", - "t": "source.shell string.quoted.double.shell variable.other.special.shell punctuation.definition.variable.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.variable.shell variable.parameter.positional.all.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -2605,7 +3221,7 @@ }, { "c": "@", - "t": "source.shell string.quoted.double.shell variable.other.special.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell variable.parameter.positional.all.shell", "r": { "dark_plus": "variable: #9CDCFE", "light_plus": "variable: #001080", @@ -2619,7 +3235,7 @@ }, { "c": "\"", - "t": "source.shell string.quoted.double.shell punctuation.definition.string.end.shell", + "t": "source.shell meta.statement.shell meta.command.shell meta.argument.shell string.quoted.double.shell punctuation.definition.string.end.shell", "r": { "dark_plus": "string: #CE9178", "light_plus": "string: #A31515",