@@ -21,6 +21,8 @@
2121 name: (identifier) @type)
2222(class_declaration
2323 name: (identifier) @type)
24+(record_declaration
25+ name: (identifier) @type)
2426(enum_declaration
2527 name: (identifier) @type)
2628
@@ -33,6 +35,8 @@
3335
3436(constructor_declaration
3537 name: (identifier) @type)
38+(compact_constructor_declaration
39+ name: (identifier) @type)
3640
3741(type_identifier) @type
3842
@@ -59,6 +63,7 @@
5963 (hex_integer_literal)
6064 (decimal_integer_literal)
6165 (octal_integer_literal)
66+ (binary_integer_literal)
6267] @constant.numeric.integer
6368
6469[
@@ -67,7 +72,11 @@
6772] @constant.numeric.float
6873
6974(character_literal) @constant.character
70−(string_literal) @string
75+
76+[
77+ (string_literal)
78+ (text_block)
79+] @string
7180
7281[
7382 (true)
@@ -75,7 +84,8 @@
7584 (null_literal)
7685] @constant.builtin
7786
78−(comment) @comment
87+(line_comment) @comment
88+(block_comment) @comment
7989
8090; Keywords
8191
@@ -104,15 +114,19 @@
104114 "module"
105115 "native"
106116 "new"
117+ "non-sealed"
107118 "open"
108119 "opens"
109120 "package"
121+ "permits"
110122 "private"
111123 "protected"
112124 "provides"
113125 "public"
114126 "requires"
127+ "record"
115128 "return"
129+ "sealed"
116130 "static"
117131 "strictfp"
118132 "switch"
@@ -127,4 +141,5 @@
127141 "volatile"
128142 "while"
129143 "with"
144+ "yield"
130145] @keyword