mirror of https://github.com/helix-editor/helix
Update gleam tree-sitter grammar (#13793)
parent
6b94d70f20
commit
3c6c221d45
|
@ -2083,7 +2083,7 @@ auto-format = true
|
|||
|
||||
[[grammar]]
|
||||
name = "gleam"
|
||||
source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "426e67087fd62be5f4533581b5916b2cf010fb5b" }
|
||||
source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "6ece453acf8b14568c10f629f8cd25d3dde3794f" }
|
||||
|
||||
[[language]]
|
||||
name = "quarto"
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
(function
|
||||
parameters: (function_parameters (function_parameter)? @parameter.inside)
|
||||
body: (function_body) @function.inside) @function.around
|
||||
body: (block) @function.inside) @function.around
|
||||
|
||||
(anonymous_function
|
||||
body: (function_body) @function.inside) @function.around
|
||||
body: (block) @function.inside) @function.around
|
||||
|
||||
((function
|
||||
name: (identifier) @_name
|
||||
body: (function_body) @test.inside) @test.around
|
||||
body: (block) @test.inside) @test.around
|
||||
(#match? @_name "_test$"))
|
||||
|
|
Loading…
Reference in New Issue