on master help sign in
update fsharp tree-sitter (#8024)
7534296kaashyapan
languages.toml+1−1
@@ -2692,7 +2692,7 @@ language-servers = ["fsharp-ls"]
2692
2692
2693[[grammar]]
2693[[grammar]]
2694name = "fsharp"
2694name = "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" }
2696
2696
2697[[language]]
2697[[language]]
2698name = "t32"
2698name = "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