Skip to content

Commit

Permalink
fix(julia): adapt queries to parser changes
Browse files Browse the repository at this point in the history
This patch adapts the julia queries to the breaking changes in
tree-sitter/tree-sitter-julia#153.

fixes nvim-treesitter#716
  • Loading branch information
fredrikekre committed Nov 21, 2024
1 parent 3e450cd commit 0024596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions queries/julia/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
(struct_definition) @class.outer

((struct_definition
name: (_)
(type_head)
.
(_) @_start
(_)? @_end .)
Expand All @@ -101,7 +101,7 @@
(operator)
(_) @function.inner) @function.outer

(function_expression
(arrow_function_expression
[
(identifier)
(argument_list)
Expand Down

0 comments on commit 0024596

Please sign in to comment.