From 4b4cd4db5e452305082e151b1bd6605509feff22 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sat, 29 Oct 2011 17:37:34 +0200 Subject: Make shell script highlighting compatible with syntax folding (issue #20) --- autoload/xolox/easytags.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'autoload') diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index bd6cbaa..02d8578 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -3,7 +3,7 @@ " Last Change: October 29, 2011 " URL: http://peterodding.com/code/vim/easytags/ -let g:xolox#easytags#version = '2.7.1' +let g:xolox#easytags#version = '2.7.2' " Public interface through (automatic) commands. {{{1 @@ -900,7 +900,8 @@ highlight def link awkFunctionTag Function call xolox#easytags#define_tagkind({ \ 'filetype': 'sh', \ 'hlgroup': 'shFunctionTag', - \ 'tagkinds': 'f'}) + \ 'tagkinds': 'f', + \ 'pattern_suffix': '\(\s*()\)\@!'}) highlight def link shFunctionTag Operator -- cgit v1.2.3