Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad8f0a4

Browse files
fredrikekreclason
authored andcommittedNov 22, 2024·
fix(julia): adapt queries to parser changes
This patch adapts the julia queries to the breaking changes in tree-sitter/tree-sitter-julia#153. fixes #716
1 parent 3e450cd commit ad8f0a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎queries/julia/textobjects.scm

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
(struct_definition) @class.outer
8181

8282
((struct_definition
83-
name: (_)
83+
(type_head)
8484
.
8585
(_) @_start
8686
(_)? @_end .)
@@ -101,7 +101,7 @@
101101
(operator)
102102
(_) @function.inner) @function.outer
103103

104-
(function_expression
104+
(arrow_function_expression
105105
[
106106
(identifier)
107107
(argument_list)

0 commit comments

Comments
 (0)
Please sign in to comment.