diff --git a/extensions/theme-defaults/themes/dark_plus.json b/extensions/theme-defaults/themes/dark_plus.json index 31830994812..fc2fd7d7f32 100644 --- a/extensions/theme-defaults/themes/dark_plus.json +++ b/extensions/theme-defaults/themes/dark_plus.json @@ -173,7 +173,10 @@ } }, { - "scope": "constant.character", + "scope": [ + "constant.character", + "constant.other.option" + ], "settings": { "foreground": "#569cd6" } diff --git a/extensions/theme-defaults/themes/light_plus.json b/extensions/theme-defaults/themes/light_plus.json index 9a0d0d6dea4..d24599e6feb 100644 --- a/extensions/theme-defaults/themes/light_plus.json +++ b/extensions/theme-defaults/themes/light_plus.json @@ -174,7 +174,10 @@ } }, { - "scope": "constant.character", + "scope": [ + "constant.character", + "constant.other.option" + ], "settings": { "foreground": "#0000ff" } diff --git a/extensions/vscode-colorize-tests/test/colorize-results/test-173216_sh.json b/extensions/vscode-colorize-tests/test/colorize-results/test-173216_sh.json index a19adbcf18a..a166e7d96f4 100644 --- a/extensions/vscode-colorize-tests/test/colorize-results/test-173216_sh.json +++ b/extensions/vscode-colorize-tests/test/colorize-results/test-173216_sh.json @@ -59,28 +59,28 @@ "c": "-", "t": "source.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument.shell constant.other.option.dash.shell", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { "c": "A", "t": "source.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument constant.other.option", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { diff --git a/extensions/vscode-colorize-tests/test/colorize-results/test_sh.json b/extensions/vscode-colorize-tests/test/colorize-results/test_sh.json index ff14f5bf99b..0a0f0b4d050 100644 --- a/extensions/vscode-colorize-tests/test/colorize-results/test_sh.json +++ b/extensions/vscode-colorize-tests/test/colorize-results/test_sh.json @@ -1417,28 +1417,28 @@ "c": "-", "t": "source.shell meta.scope.if-block.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell meta.argument.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell meta.argument.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument.shell constant.other.option.dash.shell", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { "c": "f", "t": "source.shell meta.scope.if-block.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell meta.argument.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell meta.argument.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument constant.other.option", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { @@ -1613,28 +1613,28 @@ "c": "-", "t": "source.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument.shell constant.other.option.dash.shell", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { "c": "print-path", "t": "source.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument constant.other.option", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { @@ -1725,28 +1725,28 @@ "c": "-", "t": "source.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument.shell constant.other.option.dash.shell", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { "c": "sdk", "t": "source.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument constant.other.option", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { @@ -1795,28 +1795,28 @@ "c": "-", "t": "source.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument.shell constant.other.option.dash.shell", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { "c": "find", "t": "source.shell meta.statement.shell meta.expression.assignment.shell string.interpolated.dollar.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument constant.other.option", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { @@ -2271,28 +2271,28 @@ "c": "-", "t": "source.shell meta.function.shell meta.function.body.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument.shell constant.other.option.dash.shell", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, { "c": "d", "t": "source.shell meta.function.shell meta.function.body.shell meta.statement.shell meta.statement.command.shell string.unquoted.argument constant.other.option", "r": { - "dark_plus": "string: #CE9178", - "light_plus": "string: #A31515", + "dark_plus": "constant.other.option: #569CD6", + "light_plus": "constant.other.option: #0000FF", "dark_vs": "string: #CE9178", "light_vs": "string: #A31515", "hc_black": "string: #CE9178", - "dark_plus_experimental": "string: #CE9178", + "dark_plus_experimental": "constant.other.option: #569CD6", "hc_light": "string: #0F4A85", - "light_plus_experimental": "string: #A31515" + "light_plus_experimental": "constant.other.option: #0000FF" } }, {