From 00245969c98bed15c3f78c80a8b5d87dc1652d8c Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Fri, 22 Nov 2024 00:57:38 +0100 Subject: [PATCH] fix(julia): adapt queries to parser changes This patch adapts the julia queries to the breaking changes in https://github.com/tree-sitter/tree-sitter-julia/pull/153. fixes #716 --- queries/julia/textobjects.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/julia/textobjects.scm b/queries/julia/textobjects.scm index 7086bdca..bb713118 100644 --- a/queries/julia/textobjects.scm +++ b/queries/julia/textobjects.scm @@ -80,7 +80,7 @@ (struct_definition) @class.outer ((struct_definition - name: (_) + (type_head) . (_) @_start (_)? @_end .) @@ -101,7 +101,7 @@ (operator) (_) @function.inner) @function.outer -(function_expression +(arrow_function_expression [ (identifier) (argument_list)