Skip to content

Commit b56ec0d

Browse files
committed
Fix CPP grammar and themes
Part of microsoft#71821
1 parent 4a95428 commit b56ec0d

8 files changed

Lines changed: 1028 additions & 314 deletions

File tree

extensions/cpp/cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"git": {
77
"name": "jeff-hykin/cpp-textmate-grammar",
88
"repositoryUrl": "https://github.com/jeff-hykin/cpp-textmate-grammar",
9-
"commitHash": "47f33650b7eee1cc3d5c9e72a85ac415797a08db"
9+
"commitHash": "84a65f7cce43f15aceaf1854c5bcc779c8575fe7"
1010
}
1111
},
1212
"license": "MIT",
13-
"version": "1.6.7",
13+
"version": "1.7.6",
1414
"description": "The files syntaxes/c.json and syntaxes/c++.json were derived from https://github.com/atom/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
1515
},
1616
{

extensions/cpp/syntaxes/c.tmLanguage.json

Lines changed: 107 additions & 87 deletions
Large diffs are not rendered by default.

extensions/cpp/syntaxes/cpp.tmLanguage.json

Lines changed: 891 additions & 220 deletions
Large diffs are not rendered by default.

extensions/theme-defaults/themes/dark_plus.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@
6868
},
6969
{
7070
"name": "Control flow keywords",
71-
"scope": "keyword.control",
71+
"scope": [
72+
"keyword.control",
73+
"keyword.operator.new.cpp",
74+
"keyword.operator.delete.cpp",
75+
"keyword.other.using"
76+
],
7277
"settings": {
7378
"foreground": "#C586C0"
7479
}

extensions/theme-defaults/themes/hc_black.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@
6565
},
6666
{
6767
"name": "Control flow keywords",
68-
"scope": "keyword.control",
68+
"scope": [
69+
"keyword.control",
70+
"keyword.operator.new.cpp",
71+
"keyword.operator.delete.cpp",
72+
"keyword.other.using"
73+
],
6974
"settings": {
7075
"foreground": "#C586C0"
7176
}

extensions/theme-defaults/themes/light_plus.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@
6868
},
6969
{
7070
"name": "Control flow keywords",
71-
"scope": "keyword.control",
71+
"scope": [
72+
"keyword.control",
73+
"keyword.operator.new.cpp",
74+
"keyword.operator.delete.cpp",
75+
"keyword.other.using"
76+
],
7277
"settings": {
7378
"foreground": "#AF00DB"
7479
}

extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@
113113
"name": "Keywords",
114114
"scope": [
115115
"keyword",
116-
"keyword.control"
116+
"keyword.control",
117+
"keyword.operator.new.cpp",
118+
"keyword.operator.delete.cpp",
119+
"keyword.other.using"
117120
],
118121
"settings": {
119122
"foreground": "#98676a"

extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,12 @@
255255
},
256256
{
257257
"name": "Keyword Control",
258-
"scope": "keyword.control",
258+
"scope": [
259+
"keyword.control",
260+
"keyword.operator.new.cpp",
261+
"keyword.operator.delete.cpp",
262+
"keyword.other.using"
263+
],
259264
"settings": {
260265
"fontStyle": "",
261266
"foreground": "#9872A2"

0 commit comments

Comments
 (0)