" Vim syntax file " Language: git format-patch message " Maintainer: Manlio Perillo " Filenames: [0-9]*.patch (first line is "From ... # This line is ignored.") " Last Change: 2014 Gen 10 if exists("b:current_syntax") finish endif syn case match syn match gitsendemailComment "\%^From.*#.*" syn match gitsendemailComment "^GIT:.*" if has("spell") syn spell toplevel endif syn include @gitcommitMessage syntax/gitcommit.vim syn region gitcommitMessage start=/^Subject: \@=/ end=/^$|^#\@=/ contains=@gitcommitMessage hi def link gitsendemailComment Comment let b:current_syntax = "gitpatch"