update fsharp tree-sitter (#8024)

This commit is contained in:
kaashyapan 2023-08-21 20:08:21 +05:30 committed by GitHub
parent 22f4f313f1
commit 75342968e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 1 deletions

View File

@ -2692,7 +2692,7 @@ language-servers = ["fsharp-ls"]
[[grammar]]
name = "fsharp"
source = { git = "https://github.com/kaashyapan/tree-sitter-fsharp", rev = "1b5a315e003024db6181744f1d25b8f525732665" }
source = { git = "https://github.com/kaashyapan/tree-sitter-fsharp", rev = "18da392fd9bd5e79f357abcce13f61f3a15e3951" }
[[language]]
name = "t32"

View File

@ -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