From d251fdb37c9cf71d569073621e277ddf6c392f02 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Wed, 17 Sep 2014 22:31:52 +0200 Subject: Support for Perl highlighting (thanks to Jessica Kathleen McIntosh, see issue #97) See issue #97 on GitHub: https://github.com/xolox/vim-easytags/issues/97 --- autoload/xolox/easytags.vim | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'autoload/xolox') diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 23f6288..7a40980 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -1,9 +1,9 @@ " Vim script " Author: Peter Odding -" Last Change: September 14, 2014 +" Last Change: September 17, 2014 " URL: http://peterodding.com/code/vim/easytags/ -let g:xolox#easytags#version = '3.6.7' +let g:xolox#easytags#version = '3.7' let g:xolox#easytags#default_pattern_prefix = '\C\<' let g:xolox#easytags#default_pattern_suffix = '\>' @@ -826,6 +826,16 @@ call xolox#easytags#define_tagkind({ highlight def link tclCommandTag Operator +" Perl. {{{2 + +call xolox#easytags#define_tagkind({ + \ 'filetype': 'perl', + \ 'hlgroup': 'perlFunctionTag', + \ 'tagkinds': '[s]', + \ 'pattern_prefix': '\%(\