mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 05:50:04 -04:00
Add highlights.scm and locals.scm
This commit is contained in:
parent
85645f5720
commit
d9639e1e5e
2 changed files with 154 additions and 0 deletions
8
queries/java/locals.scm
Normal file
8
queries/java/locals.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(class_declaration
|
||||
name: (identifier) @name) @class
|
||||
|
||||
(method_declaration
|
||||
name: (identifier) @name) @method
|
||||
|
||||
(method_invocation
|
||||
name: (identifier) @name) @call
|
||||
Loading…
Add table
Add a link
Reference in a new issue