File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,15 @@ Grammars:
14
14
- fix(bash) recognize the ` (( ` keyword [ Nick Chambers] [ ]
15
15
- fix(nix) support escaped dollar signs in strings [ h7x4] [ ]
16
16
- enh(cmake) support bracket comments [ Hirse] [ ]
17
+ - enh(java) add permits keyword to java [ MBoegers] [ ]
17
18
18
19
[ Josh Goebel ] : https://github.com/joshgoebel
19
20
[ Josh Temple ] : https://github.com/joshtemple
20
21
[ nathnolt ] : https://github.com/nathnolt
21
22
[ Nick Chambers ] : https://github.com/uplime
22
23
[ h7x4 ] : https://github.com/h7x4
23
24
[ Hirse ] : https://github.com/Hirse
25
+ [ MBoegers ] : https://github.com/MBoegers
24
26
25
27
26
28
## Version 11.6.0
Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ export default function(hljs) {
72
72
'requires' ,
73
73
'exports' ,
74
74
'do' ,
75
- 'sealed'
75
+ 'sealed' ,
76
+ 'permits'
76
77
] ;
77
78
78
79
const BUILT_INS = [
Original file line number Diff line number Diff line change 9
9
}
10
10
}
11
11
12
- <span class="hljs-keyword">sealed</span> <span class="hljs-keyword">interface</span> <span class="hljs-title class_">Command</span> permits LoginCommand {
12
+ <span class="hljs-keyword">sealed</span> <span class="hljs-keyword">interface</span> <span class="hljs-title class_">Command</span> <span class="hljs-keyword"> permits</span> LoginCommand {
13
13
<span class="hljs-keyword">void</span> <span class="hljs-title function_">run</span><span class="hljs-params">()</span>;
14
14
}
15
15
You can’t perform that action at this time.
0 commit comments