robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
9f6d693e26
master
1" Vim syntax file 2" Language: git send-email message 3" Maintainer: Tim Pope 4" Filenames: .gitsendemail.* 5" Last Change: 2016 Aug 29 6 7if exists ( "b:current_syntax" ) 8finish 9endif 10 11runtime ! syntax/mail.vim 12unlet ! b: current_syntax 13syn include @gitsendemailDiff syntax/diff.vim 14syn region gitsendemailDiff start = /\%(^diff --\%(git\|cc\|combined\) \)\@= /end = /^-- % /fold contains = @gitsendemailDiff 15 16syn case match 17 18syn match gitsendemailComment "\%^From. * #. * " 19syn match gitsendemailComment "^GIT:. * " 20 21hi def link gitsendemailComment Comment 22 23let b: current_syntax = "gitsendemail"