diff options
Diffstat (limited to 'syntax/glep.vim')
-rw-r--r-- | syntax/glep.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/glep.vim b/syntax/glep.vim index ba652e4..f1ca81c 100644 --- a/syntax/glep.vim +++ b/syntax/glep.vim @@ -33,6 +33,7 @@ syn region glepFoldH4 start=/^\S.\+\n'\{2,\}$/ end=/\(\n\n\S.\+\n[-=']\{2,\}\)\@ " Headers at the top of a GLEP syn region glepHeaders start=/\%^\(.*:\)\@=/ end=/^$/ contains=glepHeaderKey +syn region glepTripleDash start=/\%^---$/ end=/^---$/ contains=glepHeaderKey syn region glepHeaderKey contained start=/^[A-Za-z0-9]/ end=/:/ nextgroup=glepHeaderValue skipwhite syn region glepHeaderValue contained start=/\S/ end=/^\S\|^$/me=e-1 contains=glepHeaderEmail,glepHeaderCVSVar syn match glepHeaderEmail contained /<[-a-zA-Z0-9\_\.]\+@[-a-zA-Z0-9\_\.]\+>/ @@ -51,6 +52,7 @@ hi link glepHeading4 Preproc hi link glepHeading5 Special hi link glepHeaders Define +hi link glepTripleDash Define hi link glepHeaderKey Keyword hi link glepHeaderValue String hi link glepHeaderEmail Special |