File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ Core Grammars:
42
42
- enh(swift) macro attributes are highlighted as keywords [ Bradley Mackey] [ ]
43
43
- enh(stan) updated for version 2.33 (#3859 ) [ Brian Ward] [ ]
44
44
- fix(css) added '_ ' css variable detection [ Md Saad Akhtar] [ ]
45
+ - enh(groovy) add ` record ` and ` var ` as keywords [ Guillaume Laforge] [ ]
45
46
46
47
Dev tool:
47
48
@@ -66,6 +67,8 @@ Dev tool:
66
67
[ Yasith Deelaka ] : https://github.com/YasithD
67
68
[ Brian Ward ] : https://github.com/WardBrian
68
69
[ Md Saad Akhtar ] : https://github.com/akhtarmdsaad
70
+ [ Guillaume Laforge ] : https://github.com/glaforge
71
+
69
72
70
73
## Version 11.8.0
71
74
@@ -118,6 +121,7 @@ Core Grammars:
118
121
[ Cyrus Kao ] : https://github.com/CyrusKao
119
122
[ Zlondrej ] : https://github.com/zlondrej
120
123
124
+
121
125
## Version 11.7.0
122
126
123
127
New Grammars:
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function(hljs) {
66
66
67
67
const CLASS_DEFINITION = {
68
68
match : [
69
- / ( c l a s s | i n t e r f a c e | t r a i t | e n u m | e x t e n d s | i m p l e m e n t s ) / ,
69
+ / ( c l a s s | i n t e r f a c e | t r a i t | e n u m | r e c o r d | e x t e n d s | i m p l e m e n t s ) / ,
70
70
/ \s + / ,
71
71
hljs . UNDERSCORE_IDENT_RE
72
72
] ,
@@ -126,7 +126,8 @@ export default function(hljs) {
126
126
"import" ,
127
127
"package" ,
128
128
"return" ,
129
- "instanceof"
129
+ "instanceof" ,
130
+ "var"
130
131
] ;
131
132
132
133
return {
You can’t perform that action at this time.
0 commit comments