mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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_]+$")
|
||||
)
|
||||
|
||||
[
|
||||
function_call: (IDENTIFIER)
|
||||
function: (IDENTIFIER)
|
||||
] @function
|
||||
function: (IDENTIFIER) @function
|
||||
function_call: (IDENTIFIER) @function.call
|
||||
|
||||
exception: "!" @exception
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue