comparison runtime/syntax/gitsendemail.vim @ 10048:43efa4f5a8ea

commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 30 23:26:57 2016 +0200 Updated runtime files. Remove version checks for Vim older than 6.0.
author Christian Brabandt <cb@256bit.org>
date Tue, 30 Aug 2016 23:30:09 +0200
parents f7579a31705c
children
comparison
equal deleted inserted replaced
10047:a62862410ca1 10048:43efa4f5a8ea
1 " Vim syntax file 1 " Vim syntax file
2 " Language: git send-email message 2 " Language: git send-email message
3 " Maintainer: Tim Pope 3 " Maintainer: Tim Pope
4 " Filenames: *.msg.[0-9]* (first line is "From ... # This line is ignored.") 4 " Filenames: .gitsendemail.*
5 " Last Change: 2010 May 21 5 " Last Change: 2016 Aug 29
6 6
7 if exists("b:current_syntax") 7 if exists("b:current_syntax")
8 finish 8 finish
9 endif 9 endif
10 10
11 runtime! syntax/mail.vim 11 runtime! syntax/mail.vim
12 unlet! b:current_syntax
13 syn include @gitsendemailDiff syntax/diff.vim
14 syn region gitsendemailDiff start=/\%(^diff --\%(git\|cc\|combined\) \)\@=/ end=/^-- %/ fold contains=@gitsendemailDiff
15
12 syn case match 16 syn case match
13 17
14 syn match gitsendemailComment "\%^From.*#.*" 18 syn match gitsendemailComment "\%^From.*#.*"
15 syn match gitsendemailComment "^GIT:.*" 19 syn match gitsendemailComment "^GIT:.*"
16 20