mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 16:00:02 -04:00
Split func/method definition from calls in several programming language queries
This commit is contained in:
parent
77675b6706
commit
c784720917
15 changed files with 32 additions and 32 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
;; Function related
|
||||
(function_declaration name: (_) @function)
|
||||
(call_expression function: (identifier) @function)
|
||||
(call_expression function: (identifier) @function.call)
|
||||
(parameters (identifier) @parameter)
|
||||
(default_parameter (identifier) @parameter)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue