mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
Split func/method definition from calls in C highlighting queries
This commit is contained in:
parent
460d24a12d
commit
04e62a2027
1 changed files with 2 additions and 2 deletions
|
|
@ -157,10 +157,10 @@
|
||||||
(#eq? @_u "#undef"))
|
(#eq? @_u "#undef"))
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (identifier) @function)
|
function: (identifier) @function.call)
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (field_expression
|
function: (field_expression
|
||||||
field: (field_identifier) @function))
|
field: (field_identifier) @function.call))
|
||||||
(function_declarator
|
(function_declarator
|
||||||
declarator: (identifier) @function)
|
declarator: (identifier) @function)
|
||||||
(preproc_function_def
|
(preproc_function_def
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue