mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 07:20:06 -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
|
|
@ -84,13 +84,13 @@
|
|||
(stab_clause operator: _ @operator)
|
||||
|
||||
; Local Function Calls
|
||||
(call target: (identifier) @function)
|
||||
(call target: (identifier) @function.call)
|
||||
|
||||
; Remote Function Calls
|
||||
(call target: (dot left: [
|
||||
(atom) @type
|
||||
(_)
|
||||
] right: (identifier) @function) (arguments))
|
||||
] right: (identifier) @function.call) (arguments))
|
||||
|
||||
; Definition Function Calls
|
||||
(call target: ((identifier) @keyword.function (#any-of? @keyword.function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue