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]]
|
[[grammar]]
|
||||||
name = "gleam"
|
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]]
|
[[language]]
|
||||||
name = "quarto"
|
name = "quarto"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
(function
|
(function
|
||||||
parameters: (function_parameters (function_parameter)? @parameter.inside)
|
parameters: (function_parameters (function_parameter)? @parameter.inside)
|
||||||
body: (function_body) @function.inside) @function.around
|
body: (block) @function.inside) @function.around
|
||||||
|
|
||||||
(anonymous_function
|
(anonymous_function
|
||||||
body: (function_body) @function.inside) @function.around
|
body: (block) @function.inside) @function.around
|
||||||
|
|
||||||
((function
|
((function
|
||||||
name: (identifier) @_name
|
name: (identifier) @_name
|
||||||
body: (function_body) @test.inside) @test.around
|
body: (block) @test.inside) @test.around
|
||||||
(#match? @_name "_test$"))
|
(#match? @_name "_test$"))
|
||||||
|
|
Loading…
Reference in New Issue