aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/kotlin/locals.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/kotlin/locals.scm')
-rw-r--r--runtime/queries/kotlin/locals.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/kotlin/locals.scm b/runtime/queries/kotlin/locals.scm
new file mode 100644
index 00000000..752ed995
--- /dev/null
+++ b/runtime/queries/kotlin/locals.scm
@@ -0,0 +1,15 @@
+; Scopes
+
+[
+ (class_declaration)
+ (function_declaration)
+] @local.scope
+
+; Definitions
+
+(type_parameter
+ (type_identifier) @local.definition)
+
+; References
+
+(type_identifier) @local.reference