on master help sign in
update fsharp tree-sitter (#8024)
commit75342968e23a56d4156a6c845517ea7491838b98 authorkaashyapan <25821867+kaashyapan@users.noreply.github.com> dateMon 21 Aug 2023, 20:08 (3 years ago) parent22f4f31
2 files changed+26−1
languages.toml+1−1 runtime/queries/fsharp/locals.scm+25
languages.toml+1−1
@@ -2692,7 +2692,7 @@ language-servers = ["fsharp-ls"]
26922692
26932693[[grammar]]
26942694name = "fsharp"
2695−source = { git = "https://github.com/kaashyapan/tree-sitter-fsharp", rev = "1b5a315e003024db6181744f1d25b8f525732665" }
2695+source = { git = "https://github.com/kaashyapan/tree-sitter-fsharp", rev = "18da392fd9bd5e79f357abcce13f61f3a15e3951" }
26962696
26972697[[language]]
26982698name = "t32"
runtime/queries/fsharp/locals.scmnew file+25
@@ -0,0 +1,25 @@
1+; Scopes
2+;-------
3+
4+[
5+ (ce_expression)
6+ (module_defn)
7+ (for_expression)
8+ (do_expression)
9+ (fun_expression)
10+ (function_expression)
11+ (try_expression)
12+ (match_expression)
13+ (elif_expression)
14+ (if_expression)
15+] @local.scope
16+
17+; Definitions
18+;------------
19+
20+(function_or_value_defn) @local.definition
21+
22+; References
23+;-----------
24+
25+(identifier) @local.reference