diff options
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/kotlin/highlights.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm index 5ac5a7e5..7c59815b 100644 --- a/queries/kotlin/highlights.scm +++ b/queries/kotlin/highlights.scm @@ -70,10 +70,9 @@ (type_identifier) @type ;; Annotations -;; TODO: -;(annotation (single_annotation) @attribute) -;(single_annotation (user_type (type_identifier) @attribute)) -;(single_annotation (constructor_invocation (user_type (type_identifier) @attribute))) +(annotation (single_annotation) @annotation) +(single_annotation (user_type (type_identifier) @annotation)) +(single_annotation (constructor_invocation (user_type (type_identifier) @annotation))) ;; it @@ -103,6 +102,8 @@ ;; Keywords [ + "this" + "override" "enum" "as" "class" @@ -121,6 +122,8 @@ "throw" ] @keyword +(null_literal) @keyword + ; const etc. (property_modifier) @keyword |
