mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
fix(zig): capture function calls as @function.call
This commit is contained in:
parent
b723c30e5f
commit
cbd54ebb8d
1 changed files with 2 additions and 4 deletions
|
|
@ -45,10 +45,8 @@ parameter: (IDENTIFIER) @parameter
|
||||||
(#lua-match? @constant "^%u[%u%d_]+$")
|
(#lua-match? @constant "^%u[%u%d_]+$")
|
||||||
)
|
)
|
||||||
|
|
||||||
[
|
function: (IDENTIFIER) @function
|
||||||
function_call: (IDENTIFIER)
|
function_call: (IDENTIFIER) @function.call
|
||||||
function: (IDENTIFIER)
|
|
||||||
] @function
|
|
||||||
|
|
||||||
exception: "!" @exception
|
exception: "!" @exception
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue