File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,13 @@ Language Improvements:
9
9
- enh(matlab) Add new R2019b ` arguments ` keyword and fix ` enumeration ` keyword (#2619 ) [ Andrew Janke] [ ]
10
10
- fix(kotlin) Remove very old keywords and update example code (#2623 ) [ kageru] [ ]
11
11
- fix(night) Prevent object prototypes method values from being returned in ` getLanguage ` (#2636 ) [ night] [ ]
12
+ - enh(java) Add support for ` enum ` , which will identify as a ` class ` now (#2643 ) [ ezksd] [ ]
12
13
13
14
[ Andrew Janke ] : https://github.com/apjanke
14
15
[ Samia Ali ] : https://github.com/samiaab1990
15
16
[ kageru ] : https://github.com/kageru
16
17
[ night ] : https://github.com/night
18
+ [ ezksd ] : https://github.com/ezksd
17
19
18
20
19
21
## Version 10.1.1
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ export default function(hljs) {
98
98
hljs . QUOTE_STRING_MODE ,
99
99
{
100
100
className : 'class' ,
101
- beginKeywords : 'class interface' , end : / [ { ; = ] / , excludeEnd : true ,
102
- keywords : 'class interface' ,
101
+ beginKeywords : 'class interface enum ' , end : / [ { ; = ] / , excludeEnd : true ,
102
+ keywords : 'class interface enum ' ,
103
103
illegal : / [: " \[ \] ] / ,
104
104
contains : [
105
105
{ beginKeywords : 'extends implements' } ,
You can’t perform that action at this time.
0 commit comments