mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
Improve java parameter capture
This commit is contained in:
parent
3364a303e4
commit
f7ee3b76d1
1 changed files with 2 additions and 12 deletions
|
|
@ -9,18 +9,8 @@
|
|||
name: (identifier))
|
||||
] @method
|
||||
|
||||
[
|
||||
(method_declaration
|
||||
parameters:
|
||||
(formal_parameters
|
||||
(formal_parameter
|
||||
name: (identifier) @parameter)))
|
||||
(method_invocation
|
||||
parameters:
|
||||
(formal_parameters
|
||||
(formal_parameter
|
||||
name: (identifier) @parameter)))
|
||||
] @parameter
|
||||
(formal_parameter
|
||||
name: (identifier) @parameter)))
|
||||
|
||||
(super) @function.builtin
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue