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
This commit is contained in:
Laytan Laats 2024-05-07 20:47:25 +02:00 committed by Amaan Qureshi
parent db03443582
commit acefffae27

View file

@ -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