From 28f4ca5463e961cef6dcac87c120beec7d77d0e9 Mon Sep 17 00:00:00 2001 From: binaryify Date: Thu, 4 Jul 2019 23:15:04 +0800 Subject: [PATCH] Fixed C++ highlight error #313 --- CHANGELOG.md | 3 +++ package.json | 2 +- src/syntax.js | 7 +++++++ themes/OneDark-Pro-bold.json | 9 +++++++++ themes/OneDark-Pro-vivid.json | 9 +++++++++ themes/OneDark-Pro.json | 9 +++++++++ 6 files changed, 38 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7112a594..57212d23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # CHANGELOG +## 2.25.2 | 2019.07.04 +- Fixed C++ highlight error [#313](https://github.com/Binaryify/OneDark-Pro/issues/313) + ## 2.25.1 | 2019.07.03 - Fixed `keyof` in typescript highlight error diff --git a/package.json b/package.json index c84a0f99..f6ab9ec0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "Material-theme", "displayName": "One Dark Pro", "description": "Atom's iconic One Dark theme for Visual Studio Code", - "version": "2.25.1", + "version": "2.25.2", "publisher": "zhuangtongfa", "bugs": { "url": "https://github.com/Binaryify/OneDark-Pro/issues" diff --git a/src/syntax.js b/src/syntax.js index b5b6fac8..9a0a6e1a 100644 --- a/src/syntax.js +++ b/src/syntax.js @@ -1759,6 +1759,13 @@ const configFactory = type => { foreground: colorObj['dark'] }, scope: ['punctuation.definition.tag.xi'] + }, + { + name: 'C++ entity name label', + settings: { + foreground: colorObj['chalky'] + }, + scope: ['entity.name.label.cs'] } ] diff --git a/themes/OneDark-Pro-bold.json b/themes/OneDark-Pro-bold.json index f0385eac..d2100533 100644 --- a/themes/OneDark-Pro-bold.json +++ b/themes/OneDark-Pro-bold.json @@ -1885,6 +1885,15 @@ "scope": [ "punctuation.definition.tag.xi" ] + }, + { + "name": "C++ entity name label", + "settings": { + "foreground": "#E5C07B" + }, + "scope": [ + "entity.name.label.cs" + ] } ] } \ No newline at end of file diff --git a/themes/OneDark-Pro-vivid.json b/themes/OneDark-Pro-vivid.json index eb0784ae..72a73dd9 100644 --- a/themes/OneDark-Pro-vivid.json +++ b/themes/OneDark-Pro-vivid.json @@ -1855,6 +1855,15 @@ "scope": [ "punctuation.definition.tag.xi" ] + }, + { + "name": "C++ entity name label", + "settings": { + "foreground": "#e5c07b" + }, + "scope": [ + "entity.name.label.cs" + ] } ] } \ No newline at end of file diff --git a/themes/OneDark-Pro.json b/themes/OneDark-Pro.json index 8072be85..b772757e 100644 --- a/themes/OneDark-Pro.json +++ b/themes/OneDark-Pro.json @@ -1855,6 +1855,15 @@ "scope": [ "punctuation.definition.tag.xi" ] + }, + { + "name": "C++ entity name label", + "settings": { + "foreground": "#e5c07b" + }, + "scope": [ + "entity.name.label.cs" + ] } ] } \ No newline at end of file