Skip to content

Commit 706c665

Browse files
committed
Improve Perl function tag highlighting (more accurate now)
As suggested in issue #97, for details see: #97
1 parent 10427de commit 706c665

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoload/xolox/easytags.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
" Vim script
22
" Author: Peter Odding <peter@peterodding.com>
3-
" Last Change: October 21, 2014
3+
" Last Change: November 3, 2014
44
" URL: http://peterodding.com/code/vim/easytags/
55

6-
let g:xolox#easytags#version = '3.8.2'
6+
let g:xolox#easytags#version = '3.8.3'
77
let g:xolox#easytags#default_pattern_prefix = '\C\<'
88
let g:xolox#easytags#default_pattern_suffix = '\>'
99

@@ -834,7 +834,7 @@ call xolox#easytags#define_tagkind({
834834
\ 'filetype': 'perl',
835835
\ 'hlgroup': 'perlFunctionTag',
836836
\ 'tagkinds': '[s]',
837-
\ 'pattern_prefix': '\%(\<sub\s\+\)\@<!\<'})
837+
\ 'pattern_prefix': '\%(\<sub\s\+\)\@<!\%(>\|\s\|&\|^\)\@<=\<'})
838838

839839
highlight def link perlFunctionTag Operator
840840

0 commit comments

Comments
 (0)