aboutsummaryrefslogtreecommitdiffstats
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
parentkotlin: updated parser, and added annotation highlight again (diff)
downloadnvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar
nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.gz
nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.bz2
nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.lz
nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.xz
nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.zst
nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.zip
attribute in stead of annotation
-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 7c59815b8..17eeab2a3 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