summaryrefslogtreecommitdiff
path: root/runtime/queries/rescript/locals.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/rescript/locals.scm')
-rw-r--r--runtime/queries/rescript/locals.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/queries/rescript/locals.scm b/runtime/queries/rescript/locals.scm
new file mode 100644
index 00000000..1240ed16
--- /dev/null
+++ b/runtime/queries/rescript/locals.scm
@@ -0,0 +1,7 @@
+(switch_expression) @local.scope
+(if_expression) @local.scope
+
+; Definitions
+;------------
+(type_declaration) @local.defintion
+(let_binding) @local.defintion