diff options
author | Peter Odding <peter@peterodding.com> | 2014-11-03 22:05:11 +0100 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2014-11-03 22:05:11 +0100 |
commit | 706c6650f3af2f44352f2d0dfc64be5727e1c097 (patch) | |
tree | 9463eb055912a0cf1f32f40421ed4c713423d579 /autoload | |
parent | 10427de54060e4a8e52ceee8c1319fe882c56dc1 (diff) | |
download | vim-easytags-706c6650f3af2f44352f2d0dfc64be5727e1c097.tar.gz |
Improve Perl function tag highlighting (more accurate now)
As suggested in issue #97, for details see:
https://github.com/xolox/vim-easytags/issues/97
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/xolox/easytags.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index d97b333..b9b27cd 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: October 21, 2014 +" Last Change: November 3, 2014 " URL: http://peterodding.com/code/vim/easytags/ -let g:xolox#easytags#version = '3.8.2' +let g:xolox#easytags#version = '3.8.3' let g:xolox#easytags#default_pattern_prefix = '\C\<' let g:xolox#easytags#default_pattern_suffix = '\>' @@ -834,7 +834,7 @@ call xolox#easytags#define_tagkind({ \ 'filetype': 'perl', \ 'hlgroup': 'perlFunctionTag', \ 'tagkinds': '[s]', - \ 'pattern_prefix': '\%(\<sub\s\+\)\@<!\<'}) + \ 'pattern_prefix': '\%(\<sub\s\+\)\@<!\%(>\|\s\|&\|^\)\@<=\<'}) highlight def link perlFunctionTag Operator |