Skip to content

Commit

Permalink
update fsharp tree-sitter (#8024)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaashyapan authored Aug 21, 2023
1 parent 22f4f31 commit 7534296
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
25 changes: 25 additions & 0 deletions runtime/queries/fsharp/locals.scm
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7534296

Please sign in to comment.