Skip to content

Commit 4b4cd4d

Browse files
committed
Make shell script highlighting compatible with syntax folding (issue #20)
1 parent e3290ab commit 4b4cd4d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

autoload/xolox/easytags.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Last Change: October 29, 2011
44
" URL: http://peterodding.com/code/vim/easytags/
55

6-
let g:xolox#easytags#version = '2.7.1'
6+
let g:xolox#easytags#version = '2.7.2'
77

88
" Public interface through (automatic) commands. {{{1
99

@@ -900,7 +900,8 @@ highlight def link awkFunctionTag Function
900900
call xolox#easytags#define_tagkind({
901901
\ 'filetype': 'sh',
902902
\ 'hlgroup': 'shFunctionTag',
903-
\ 'tagkinds': 'f'})
903+
\ 'tagkinds': 'f',
904+
\ 'pattern_suffix': '\(\s*()\)\@!'})
904905

905906
highlight def link shFunctionTag Operator
906907

0 commit comments

Comments
 (0)