Skip to content

Commit 3072916

Browse files
committed
fix: Improved C/C++ highlight #828
1 parent 2d42e24 commit 3072916

File tree

7 files changed

+53
-1
lines changed

7 files changed

+53
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# CHANGELOG
2+
## 3.17.3 | 2024.09.13
3+
- Improved C/C++ highlight #828
4+
25
## 3.17.2 | 2024.04.25
36
- Update README.md
47

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "material-theme",
33
"displayName": "One Dark Pro",
44
"description": "Atom's iconic One Dark theme for Visual Studio Code",
5-
"version": "3.17.2",
5+
"version": "3.17.3",
66
"publisher": "zhuangtongfa",
77
"license": "MIT",
88
"bugs": {

src/themes/themeData.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,15 @@ export default {
15681568
foreground: colorType.purple,
15691569
},
15701570
},
1571+
{
1572+
name: 'c arithmetic',
1573+
scope: [
1574+
'keyword.operator.arithmetic.c','keyword.operator.arithmetic.cpp'
1575+
],
1576+
settings: {
1577+
foreground: colorType.purple,
1578+
},
1579+
},
15711580
{
15721581
name: 'Go package name',
15731582
scope: ['entity.name.package.go'],

themes/OneDark-Pro-darker.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,6 +1528,16 @@
15281528
"foreground": "#c678dd"
15291529
}
15301530
},
1531+
{
1532+
"name": "c arithmetic",
1533+
"scope": [
1534+
"keyword.operator.arithmetic.c",
1535+
"keyword.operator.arithmetic.cpp"
1536+
],
1537+
"settings": {
1538+
"foreground": "#c678dd"
1539+
}
1540+
},
15311541
{
15321542
"name": "Go package name",
15331543
"scope": [

themes/OneDark-Pro-flat.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,16 @@
15311531
"foreground": "#c678dd"
15321532
}
15331533
},
1534+
{
1535+
"name": "c arithmetic",
1536+
"scope": [
1537+
"keyword.operator.arithmetic.c",
1538+
"keyword.operator.arithmetic.cpp"
1539+
],
1540+
"settings": {
1541+
"foreground": "#c678dd"
1542+
}
1543+
},
15341544
{
15351545
"name": "Go package name",
15361546
"scope": [

themes/OneDark-Pro-mix.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,16 @@
15311531
"foreground": "#c678dd"
15321532
}
15331533
},
1534+
{
1535+
"name": "c arithmetic",
1536+
"scope": [
1537+
"keyword.operator.arithmetic.c",
1538+
"keyword.operator.arithmetic.cpp"
1539+
],
1540+
"settings": {
1541+
"foreground": "#c678dd"
1542+
}
1543+
},
15341544
{
15351545
"name": "Go package name",
15361546
"scope": [

themes/OneDark-Pro.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,6 +1528,16 @@
15281528
"foreground": "#c678dd"
15291529
}
15301530
},
1531+
{
1532+
"name": "c arithmetic",
1533+
"scope": [
1534+
"keyword.operator.arithmetic.c",
1535+
"keyword.operator.arithmetic.cpp"
1536+
],
1537+
"settings": {
1538+
"foreground": "#c678dd"
1539+
}
1540+
},
15311541
{
15321542
"name": "Go package name",
15331543
"scope": [

0 commit comments

Comments
 (0)