view runtime/syntax/gitsendemail.vim @ 3736:dc65e6429d2c v7.3.627

updated for version 7.3.627 Problem: When using the "n" flag with the ":s" command a \= substitution will not be evaluated. Solution: Do perform the evaluation, so that a function can be invoked at every matching position without changing the text. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 08 Aug 2012 16:51:15 +0200
parents f7579a31705c
children 43efa4f5a8ea
line wrap: on
line source

" Vim syntax file
" Language:	git send-email message
" Maintainer:	Tim Pope
" Filenames:	*.msg.[0-9]* (first line is "From ... # This line is ignored.")
" Last Change:	2010 May 21

if exists("b:current_syntax")
  finish
endif

runtime! syntax/mail.vim
syn case match

syn match   gitsendemailComment "\%^From.*#.*"
syn match   gitsendemailComment "^GIT:.*"

hi def link gitsendemailComment Comment

let b:current_syntax = "gitsendemail"