mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00: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"
|
".source"
|
||||||
".implements"
|
".implements"
|
||||||
".field"
|
".field"
|
||||||
".method"
|
|
||||||
".annotation"
|
".annotation"
|
||||||
".subannotation"
|
".subannotation"
|
||||||
".param"
|
".param"
|
||||||
|
|
@ -79,12 +78,16 @@
|
||||||
|
|
||||||
[
|
[
|
||||||
(end_field)
|
(end_field)
|
||||||
(end_method)
|
|
||||||
(end_annotation)
|
(end_annotation)
|
||||||
(end_subannotation)
|
(end_subannotation)
|
||||||
(end_param)
|
(end_param)
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
|
[
|
||||||
|
".method"
|
||||||
|
(end_method)
|
||||||
|
] @keyword.function
|
||||||
|
|
||||||
; Literals
|
; Literals
|
||||||
|
|
||||||
(string_literal) @string
|
(string_literal) @string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue