aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/fsharp
diff options
context:
space:
mode:
authorkaashyapan2023-08-21 14:38:21 +0000
committerGitHub2023-08-21 14:38:21 +0000
commit75342968e23a56d4156a6c845517ea7491838b98 (patch)
treea577c61bc1fbd0456a99da73a51809463b870b98 /runtime/queries/fsharp
parent22f4f313f1cbdaadafcc3dd471f5a0bb4f7034e1 (diff)
update fsharp tree-sitter (#8024)
Diffstat (limited to 'runtime/queries/fsharp')
-rw-r--r--runtime/queries/fsharp/locals.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/runtime/queries/fsharp/locals.scm b/runtime/queries/fsharp/locals.scm
new file mode 100644
index 00000000..aa36755e
--- /dev/null
+++ b/runtime/queries/fsharp/locals.scm
@@ -0,0 +1,25 @@
+; Scopes
+;-------
+
+[
+ (ce_expression)
+ (module_defn)
+ (for_expression)
+ (do_expression)
+ (fun_expression)
+ (function_expression)
+ (try_expression)
+ (match_expression)
+ (elif_expression)
+ (if_expression)
+] @local.scope
+
+; Definitions
+;------------
+
+(function_or_value_defn) @local.definition
+
+; References
+;-----------
+
+(identifier) @local.reference