Add method tags

This commit is contained in:
Bruno BELANYI 2022-06-04 21:42:23 +02:00
parent b1c2da4cb4
commit 746c8d27b8
2 changed files with 19 additions and 0 deletions

View file

@ -8,4 +8,12 @@
function: (identifier) @name) @reference.call
; }}}
; Methods {{{
(method_declaration
name: (identifier) @name) @definition.method
(method_call
method: (identifier) @name) @reference.call
; }}}
; vim: sw=2 foldmethod=marker