Skip to content

Commit

Permalink
fix: Improved C/C++ highlight #828
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Sep 13, 2024
1 parent 2d42e24 commit 3072916
Show file tree
Hide file tree
Showing 7 changed files with 53 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
## 3.17.3 | 2024.09.13
- Improved C/C++ highlight #828

## 3.17.2 | 2024.04.25
- Update README.md

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.17.2",
"version": "3.17.3",
"publisher": "zhuangtongfa",
"license": "MIT",
"bugs": {
Expand Down
9 changes: 9 additions & 0 deletions src/themes/themeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,15 @@ export default {
foreground: colorType.purple,
},
},
{
name: 'c arithmetic',
scope: [
'keyword.operator.arithmetic.c','keyword.operator.arithmetic.cpp'
],
settings: {
foreground: colorType.purple,
},
},
{
name: 'Go package name',
scope: ['entity.name.package.go'],
Expand Down
10 changes: 10 additions & 0 deletions themes/OneDark-Pro-darker.json
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,16 @@
"foreground": "#c678dd"
}
},
{
"name": "c arithmetic",
"scope": [
"keyword.operator.arithmetic.c",
"keyword.operator.arithmetic.cpp"
],
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "Go package name",
"scope": [
Expand Down
10 changes: 10 additions & 0 deletions themes/OneDark-Pro-flat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,16 @@
"foreground": "#c678dd"
}
},
{
"name": "c arithmetic",
"scope": [
"keyword.operator.arithmetic.c",
"keyword.operator.arithmetic.cpp"
],
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "Go package name",
"scope": [
Expand Down
10 changes: 10 additions & 0 deletions themes/OneDark-Pro-mix.json
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,16 @@
"foreground": "#c678dd"
}
},
{
"name": "c arithmetic",
"scope": [
"keyword.operator.arithmetic.c",
"keyword.operator.arithmetic.cpp"
],
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "Go package name",
"scope": [
Expand Down
10 changes: 10 additions & 0 deletions themes/OneDark-Pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,16 @@
"foreground": "#c678dd"
}
},
{
"name": "c arithmetic",
"scope": [
"keyword.operator.arithmetic.c",
"keyword.operator.arithmetic.cpp"
],
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "Go package name",
"scope": [
Expand Down

0 comments on commit 3072916

Please sign in to comment.