aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/kotlin/highlights.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm
index 679fd063e..4d739c761 100644
--- a/queries/kotlin/highlights.scm
+++ b/queries/kotlin/highlights.scm
@@ -47,6 +47,9 @@
(type_identifier) @type
+(type_alias
+ (type_identifier) @type.definition)
+
((type_identifier) @type.builtin
(#any-of? @type.builtin
"Byte"
@@ -98,7 +101,7 @@
(identifier
(simple_identifier) @type @_import)
(import_alias
- (type_identifier) @type)?
+ (type_identifier) @type.definition)?
(#lua-match? @_import "^[A-Z]"))
(import_header
@@ -285,7 +288,7 @@
(visibility_modifier)
(reification_modifier)
(inheritance_modifier)
-]@keyword
+] @type.qualifier
[
"val"