mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
add method spec highlight and block folds (#3151)
This commit is contained in:
parent
e5995d3643
commit
32e033a8f5
2 changed files with 4 additions and 0 deletions
|
|
@ -9,5 +9,6 @@
|
|||
(method_declaration)
|
||||
(type_declaration)
|
||||
(var_declaration)
|
||||
(block)
|
||||
] @fold
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,9 @@
|
|||
(method_declaration
|
||||
name: (field_identifier) @method)
|
||||
|
||||
(method_spec
|
||||
name: (field_identifier) @method)
|
||||
|
||||
; Operators
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue