mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
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:
parent
db03443582
commit
acefffae27
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@
|
||||||
|
|
||||||
((identifier) @type
|
((identifier) @type
|
||||||
(#lua-match? @type "^[A-Z][a-zA-Z0-9]*$")
|
(#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
|
; Fields
|
||||||
(member_expression
|
(member_expression
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue