summaryrefslogtreecommitdiff
path: root/queries/kotlin
diff options
context:
space:
mode:
authorTormod Alf Try Tufteland <tormodat.tufteland@eika.no>2021-03-20 17:40:40 +0100
committerStephan Seitz <stephan.lauf@yahoo.de>2021-03-20 17:52:07 +0100
commitdb67f5e517642eafe77be3714171880ea0372f80 (patch)
tree4367311daa30f0fae2586728aa55ad2a5104c800 /queries/kotlin
parent8b4b07c55b8b9d28dca60fa02c06056aa2454ebe (diff)
attribute in stead of annotation
Diffstat (limited to 'queries/kotlin')
-rw-r--r--queries/kotlin/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm
index 7c59815b..17eeab2a 100644
--- a/queries/kotlin/highlights.scm
+++ b/queries/kotlin/highlights.scm
@@ -70,9 +70,9 @@
(type_identifier) @type
;; Annotations
-(annotation (single_annotation) @annotation)
-(single_annotation (user_type (type_identifier) @annotation))
-(single_annotation (constructor_invocation (user_type (type_identifier) @annotation)))
+(annotation (single_annotation) @attribute)
+(single_annotation (user_type (type_identifier) @attribute))
+(single_annotation (constructor_invocation (user_type (type_identifier) @attribute)))
;; it