aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/xolox
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2014-11-03 22:05:11 +0100
committerPeter Odding <peter@peterodding.com>2014-11-03 22:05:11 +0100
commit706c6650f3af2f44352f2d0dfc64be5727e1c097 (patch)
tree9463eb055912a0cf1f32f40421ed4c713423d579 /autoload/xolox
parent10427de54060e4a8e52ceee8c1319fe882c56dc1 (diff)
downloadvim-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/xolox')
-rw-r--r--autoload/xolox/easytags.vim6
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