Skip to content

Commit

Permalink
Fixed C++ highlight error #313
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryify committed Jul 4, 2019
1 parent 3a996bd commit 28f4ca5
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

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": "2.25.1",
"version": "2.25.2",
"publisher": "zhuangtongfa",
"bugs": {
"url": "https://github.com/Binaryify/OneDark-Pro/issues"
Expand Down
7 changes: 7 additions & 0 deletions src/syntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
]

Expand Down
9 changes: 9 additions & 0 deletions themes/OneDark-Pro-bold.json
Original file line number Diff line number Diff line change
Expand Up @@ -1885,6 +1885,15 @@
"scope": [
"punctuation.definition.tag.xi"
]
},
{
"name": "C++ entity name label",
"settings": {
"foreground": "#E5C07B"
},
"scope": [
"entity.name.label.cs"
]
}
]
}
9 changes: 9 additions & 0 deletions themes/OneDark-Pro-vivid.json
Original file line number Diff line number Diff line change
Expand Up @@ -1855,6 +1855,15 @@
"scope": [
"punctuation.definition.tag.xi"
]
},
{
"name": "C++ entity name label",
"settings": {
"foreground": "#e5c07b"
},
"scope": [
"entity.name.label.cs"
]
}
]
}
9 changes: 9 additions & 0 deletions themes/OneDark-Pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -1855,6 +1855,15 @@
"scope": [
"punctuation.definition.tag.xi"
]
},
{
"name": "C++ entity name label",
"settings": {
"foreground": "#e5c07b"
},
"scope": [
"entity.name.label.cs"
]
}
]
}

0 comments on commit 28f4ca5

Please sign in to comment.