add method spec highlight and block folds (#3151)

This commit is contained in:
Viorel Craescu 2022-07-09 14:35:10 +03:00 committed by GitHub
parent e5995d3643
commit 32e033a8f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -9,5 +9,6 @@
(method_declaration) (method_declaration)
(type_declaration) (type_declaration)
(var_declaration) (var_declaration)
(block)
] @fold ] @fold

View file

@ -38,6 +38,9 @@
(method_declaration (method_declaration
name: (field_identifier) @method) name: (field_identifier) @method)
(method_spec
name: (field_identifier) @method)
; Operators ; Operators
[ [