From e63f81ec0aa834771c81fb8611b487a290b697c3 Mon Sep 17 00:00:00 2001 From: Tormod Alf Try Tufteland Date: Sat, 5 Dec 2020 22:14:20 +0100 Subject: @annotation -> @attribute --- queries/kotlin/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'queries') diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm index 86a1e5a3..64cbba18 100644 --- a/queries/kotlin/highlights.scm +++ b/queries/kotlin/highlights.scm @@ -25,7 +25,7 @@ ;; Variables/fields ; attribute in data classes etc. -(class_parameter (simple_identifier) @attribute) +(class_parameter (simple_identifier) @field) ; variable in normal classes (property_declaration (variable_declaration (simple_identifier) @variable)) ; accessed field in blocks. `logger` in `logger.info("")` @@ -54,7 +54,7 @@ (boolean_literal) @boolean ;; Annotations -(annotation (single_annotation) @annotation) +(annotation (single_annotation) @attribute) ;; Types ; TODO more type definitions -- cgit v1.2.3