mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
java locals.scm - add block
This commit is contained in:
parent
1221c1bf53
commit
329128c47d
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
; SCOPES
|
; SCOPES
|
||||||
(class_declaration) @scope
|
(class_declaration) @scope
|
||||||
(method_declaration) @scope
|
(method_declaration) @scope
|
||||||
|
(block) @scope
|
||||||
; 3 captures for `if` - if+else, if only, else only
|
; 3 captures for `if` - if+else, if only, else only
|
||||||
(if_statement) @scope
|
(if_statement) @scope
|
||||||
(if_statement
|
(if_statement
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue