From acefffae27b5105a717b213e19c5975bf7a4ba68 Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Tue, 7 May 2024 20:47:25 +0200 Subject: [PATCH] feat(odin): more lenient towards different function naming convention PR originally made and merged upstream here: https://github.com/tree-sitter-grammars/tree-sitter-odin/pull/15 --- queries/odin/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/odin/highlights.scm b/queries/odin/highlights.scm index 0d041f6bb..9e65937aa 100644 --- a/queries/odin/highlights.scm +++ b/queries/odin/highlights.scm @@ -193,7 +193,7 @@ ((identifier) @type (#lua-match? @type "^[A-Z][a-zA-Z0-9]*$") - (#not-has-parent? @type parameter procedure_declaration)) + (#not-has-parent? @type parameter procedure_declaration call_expression)) ; Fields (member_expression