diff options
author | Peter Odding <peter@peterodding.com> | 2014-09-17 22:31:52 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2014-09-17 22:31:52 +0200 |
commit | d251fdb37c9cf71d569073621e277ddf6c392f02 (patch) | |
tree | 1cec97c5a1ff4e5be5429ca83794dea3d22e2571 /autoload | |
parent | b4d5dd6e12c8b158d8f0598ba98a45650b6fc956 (diff) | |
download | vim-easytags-d251fdb37c9cf71d569073621e277ddf6c392f02.tar.gz |
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
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/xolox/easytags.vim | 14 |
1 files changed, 12 insertions, 2 deletions
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 <peter@peterodding.com> -" 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': '\%(\<sub\s\+\)\@<!\<'}) + +highlight def link perlFunctionTag Operator + " }}} " Restore "cpoptions". |