From f9012df43bb030c2e83606a53b3ac983c0f38012 Mon Sep 17 00:00:00 2001 From: diegok Date: Tue, 20 Oct 2020 11:11:29 +0200 Subject: [PATCH] Add missing attributes and methods kinds on perl type --- autoload/tagbar/types/ctags.vim | 4 +++- autoload/tagbar/types/uctags.vim | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/autoload/tagbar/types/ctags.vim b/autoload/tagbar/types/ctags.vim index e225f13..a4f5a4e 100644 --- a/autoload/tagbar/types/ctags.vim +++ b/autoload/tagbar/types/ctags.vim @@ -466,9 +466,11 @@ function! tagbar#types#ctags#init(supported_types) abort let type_perl.kinds = [ \ {'short' : 'p', 'long' : 'packages', 'fold' : 1, 'stl' : 0}, \ {'short' : 'c', 'long' : 'constants', 'fold' : 0, 'stl' : 0}, + \ {'short' : 'a', 'long' : 'attributes', 'fold' : 0, 'stl' : 0}, \ {'short' : 'f', 'long' : 'formats', 'fold' : 0, 'stl' : 0}, \ {'short' : 'l', 'long' : 'labels', 'fold' : 0, 'stl' : 1}, - \ {'short' : 's', 'long' : 'subroutines', 'fold' : 0, 'stl' : 1} + \ {'short' : 's', 'long' : 'subroutines', 'fold' : 0, 'stl' : 1}, + \ {'short' : 'm', 'long' : 'methods', 'fold' : 0, 'stl' : 1} \ ] let types.perl = type_perl " PHP {{{1 diff --git a/autoload/tagbar/types/uctags.vim b/autoload/tagbar/types/uctags.vim index 64ca29f..58fe65d 100644 --- a/autoload/tagbar/types/uctags.vim +++ b/autoload/tagbar/types/uctags.vim @@ -717,9 +717,11 @@ function! tagbar#types#uctags#init(supported_types) abort let type_perl.kinds = [ \ {'short' : 'p', 'long' : 'packages', 'fold' : 1, 'stl' : 0}, \ {'short' : 'c', 'long' : 'constants', 'fold' : 0, 'stl' : 0}, + \ {'short' : 'a', 'long' : 'attributes', 'fold' : 0, 'stl' : 0}, \ {'short' : 'f', 'long' : 'formats', 'fold' : 0, 'stl' : 0}, \ {'short' : 'l', 'long' : 'labels', 'fold' : 0, 'stl' : 1}, - \ {'short' : 's', 'long' : 'subroutines', 'fold' : 0, 'stl' : 1} + \ {'short' : 's', 'long' : 'subroutines', 'fold' : 0, 'stl' : 1}, + \ {'short' : 'm', 'long' : 'methods', 'fold' : 0, 'stl' : 1} \ ] let types.perl = type_perl " Perl 6 {{{1