aboutsummaryrefslogtreecommitdiffstats
path: root/queries/kotlin
diff options
context:
space:
mode:
authorSal Bakraa <SalBakraa@gmail.com>2022-01-06 02:59:35 +0300
committerStephan Seitz <stephan.seitz@fau.de>2022-01-08 20:01:00 +0100
commitb963e9f994d989eb0cbc5461c91a5606440b6e7c (patch)
treedde0959b43e0f5a7ef7239944589f478a0d23a84 /queries/kotlin
parentfix(kotlin): use correct node for when expression folds (diff)
downloadnvim-treesitter-b963e9f994d989eb0cbc5461c91a5606440b6e7c.tar
nvim-treesitter-b963e9f994d989eb0cbc5461c91a5606440b6e7c.tar.gz
nvim-treesitter-b963e9f994d989eb0cbc5461c91a5606440b6e7c.tar.bz2
nvim-treesitter-b963e9f994d989eb0cbc5461c91a5606440b6e7c.tar.lz
nvim-treesitter-b963e9f994d989eb0cbc5461c91a5606440b6e7c.tar.xz
nvim-treesitter-b963e9f994d989eb0cbc5461c91a5606440b6e7c.tar.zst
nvim-treesitter-b963e9f994d989eb0cbc5461c91a5606440b6e7c.zip
fix(kotlin): use @attribute instead of @annotation
Diffstat (limited to 'queries/kotlin')
-rw-r--r--queries/kotlin/highlights.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm
index ef1d2185a..edd97223e 100644
--- a/queries/kotlin/highlights.scm
+++ b/queries/kotlin/highlights.scm
@@ -318,24 +318,24 @@
(annotation
- "@" @annotation (use_site_target)? @annotation)
+ "@" @attribute (use_site_target)? @attribute)
(annotation
(user_type
- (type_identifier) @annotation))
+ (type_identifier) @attribute))
(annotation
(constructor_invocation
(user_type
- (type_identifier) @annotation)))
+ (type_identifier) @attribute)))
(file_annotation
- "@" @annotation "file" @annotation ":" @annotation)
+ "@" @attribute "file" @attribute ":" @attribute)
(file_annotation
(user_type
- (type_identifier) @annotation))
+ (type_identifier) @attribute))
(file_annotation
(constructor_invocation
(user_type
- (type_identifier) @annotation)))
+ (type_identifier) @attribute)))
;;; Operators & Punctuation