mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
refactor: use newly introduced consolidated syntax
This commit is contained in:
parent
772aa4c169
commit
0f836e0602
5 changed files with 197 additions and 135 deletions
|
|
@ -24,8 +24,10 @@
|
|||
((method) @scope
|
||||
(set! scope-inherits false))
|
||||
|
||||
(block) @scope
|
||||
(do_block) @scope
|
||||
[
|
||||
(block)
|
||||
(do_block)
|
||||
] @scope
|
||||
|
||||
(method_parameters (identifier) @definition.function)
|
||||
(lambda_parameters (identifier) @definition.function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue