aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-10-29 17:37:34 +0200
committerPeter Odding <peter@peterodding.com>2011-10-29 17:37:34 +0200
commit4b4cd4db5e452305082e151b1bd6605509feff22 (patch)
treeb08174c6f99736cb9eca141a261e7d05151a6e1e /autoload
parente3290ab006edf7c262a0bd117577043ce33435c6 (diff)
downloadvim-easytags-4b4cd4db5e452305082e151b1bd6605509feff22.tar.gz
Make shell script highlighting compatible with syntax folding (issue #20)
Diffstat (limited to 'autoload')
-rw-r--r--autoload/xolox/easytags.vim5
1 files changed, 3 insertions, 2 deletions
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