summaryrefslogtreecommitdiff
path: root/runtime/queries/rescript/locals.scm
diff options
context:
space:
mode:
authorJared Ramirez2022-10-20 21:30:16 +0000
committerGitHub2022-10-20 21:30:16 +0000
commitde607830a2e9643dfe99828b9329f533a4f31fa9 (patch)
tree610358f327891a0731ef39af7d40a6053b6ea614 /runtime/queries/rescript/locals.scm
parenteee83620158bd710272c69194ac2ae2b51fdc708 (diff)
Upgrade rescript tree sitter & highlights (#4356)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
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