neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

gitsendemail.vim (580B)


      1 " Vim syntax file
      2 " Language:	git send-email message
      3 " Maintainer:	Tim Pope
      4 " Filenames:	.gitsendemail.*
      5 " Last Change:	2016 Aug 29
      6 
      7 if exists("b:current_syntax")
      8  finish
      9 endif
     10 
     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 
     16 syn case match
     17 
     18 syn match   gitsendemailComment "\%^From.*#.*"
     19 syn match   gitsendemailComment "^GIT:.*"
     20 
     21 hi def link gitsendemailComment Comment
     22 
     23 let b:current_syntax = "gitsendemail"