Skip to content

Commit

Permalink
Fixed C/C++ variables highlight error #390
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed May 14, 2020
1 parent c1742ba commit ac5d431
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# CHANGELOG
## 3.6.1 | 2020.05.14
- Fixed C/C++ variables highlight error [#390](https://github.com/Binaryify/OneDark-Pro/issues/390)
## 3.6.0 | 2020.05.13
- Revert markdown preview color highlight support change

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "material-theme",
"displayName": "One Dark Pro",
"description": "Atom's iconic One Dark theme for Visual Studio Code",
"version": "3.6.0",
"version": "3.6.1",
"publisher": "zhuangtongfa",
"bugs": {
"url": "https://github.com/Binaryify/OneDark-Pro/issues"
Expand Down
7 changes: 7 additions & 0 deletions src/themes/syntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,13 @@ const configFactory = configuration => {
foreground: colorObj.coral
}
},
{
name: 'Variables',
scope: 'variable.c',
settings: {
foreground: colorObj.lightWhite
}
},
{
name: 'Language variables',
scope: 'variable.language',
Expand Down
7 changes: 7 additions & 0 deletions themes/OneDark-Pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,13 @@
"foreground": "#e5c07b"
}
},
{
"name": "Variables",
"scope": "variable.c",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "Variables",
"scope": "variable",
Expand Down

0 comments on commit ac5d431

Please sign in to comment.