From 100397c1875818b4c76eb1a2c60993cbb59bd2da Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Tue, 16 May 2017 22:22:43 +0200 Subject: [PATCH] fix: Fix invalids color highlight Close #40 --- src/themes/theme-template-color-theme.json | 21 +++----------- test/source.php | 4 +++ themes/Material-Theme-Darker.json | 33 ++++++++++------------ themes/Material-Theme-Default.json | 33 ++++++++++------------ themes/Material-Theme-Lighter.json | 33 ++++++++++------------ themes/Material-Theme-Palenight.json | 33 ++++++++++------------ 6 files changed, 68 insertions(+), 89 deletions(-) diff --git a/src/themes/theme-template-color-theme.json b/src/themes/theme-template-color-theme.json index f2b734b..56217e2 100644 --- a/src/themes/theme-template-color-theme.json +++ b/src/themes/theme-template-color-theme.json @@ -41,22 +41,10 @@ "name": "Invalid", "scope": [ "invalid", - "invalid.illegal", - "invalid.broken" + "invalid.illegal" ], "settings": { - "background": "{{variant.scheme.base.red}}", - "foreground": "{{variant.scheme.base.white}}" - } - }, - { - "name": "Invalid unimplemented", - "scope": [ - "invalid.unimplemented" - ], - "settings": { - "background": "{{variant.scheme.base.green}}", - "foreground": "{{variant.scheme.base.white}}" + "foreground": "{{variant.scheme.base.red}}" } }, { @@ -65,8 +53,7 @@ "invalid.deprecated" ], "settings": { - "background": "{{variant.scheme.base.purple}}", - "foreground": "{{variant.scheme.base.white}}" + "foreground": "{{variant.scheme.base.purple}}" } }, { @@ -162,7 +149,7 @@ "constant.character", "constant.escape", "variable.parameter", - "keyword.other.unit" + "keyword.other.unit", "keyword.other" ], "settings": { diff --git a/test/source.php b/test/source.php index e69de29..387254a 100644 --- a/test/source.php +++ b/test/source.php @@ -0,0 +1,4 @@ +