mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
refactor: move method and end_method to @keyword.function
This commit is contained in:
parent
d13a0d563b
commit
5b8b711926
1 changed files with 5 additions and 2 deletions
|
|
@ -59,7 +59,6 @@
|
|||
".source"
|
||||
".implements"
|
||||
".field"
|
||||
".method"
|
||||
".annotation"
|
||||
".subannotation"
|
||||
".param"
|
||||
|
|
@ -79,12 +78,16 @@
|
|||
|
||||
[
|
||||
(end_field)
|
||||
(end_method)
|
||||
(end_annotation)
|
||||
(end_subannotation)
|
||||
(end_param)
|
||||
] @keyword
|
||||
|
||||
[
|
||||
".method"
|
||||
(end_method)
|
||||
] @keyword.function
|
||||
|
||||
; Literals
|
||||
|
||||
(string_literal) @string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue