mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
update fsharp tree-sitter (#8024)
This commit is contained in:
parent
22f4f313f1
commit
75342968e2
@ -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"
|
||||
|
25
runtime/queries/fsharp/locals.scm
Normal file
25
runtime/queries/fsharp/locals.scm
Normal 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
|
Loading…
Reference in New Issue
Block a user