aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-05-07 20:47:25 +0200
committerAmaan Qureshi <amaanq12@gmail.com>2024-05-07 15:11:49 -0400
commitacefffae27b5105a717b213e19c5975bf7a4ba68 (patch)
tree46d8fb548a40f8cca53cd301b258bfa306f38128 /queries
parentfix(ecma): template string injections (#6590) (diff)
downloadnvim-treesitter-acefffae27b5105a717b213e19c5975bf7a4ba68.tar
nvim-treesitter-acefffae27b5105a717b213e19c5975bf7a4ba68.tar.gz
nvim-treesitter-acefffae27b5105a717b213e19c5975bf7a4ba68.tar.bz2
nvim-treesitter-acefffae27b5105a717b213e19c5975bf7a4ba68.tar.lz
nvim-treesitter-acefffae27b5105a717b213e19c5975bf7a4ba68.tar.xz
nvim-treesitter-acefffae27b5105a717b213e19c5975bf7a4ba68.tar.zst
nvim-treesitter-acefffae27b5105a717b213e19c5975bf7a4ba68.zip
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
Diffstat (limited to 'queries')
-rw-r--r--queries/odin/highlights.scm2
1 files changed, 1 insertions, 1 deletions
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