view runtime/syntax/gitsendemail.vim @ 31198:b4491e73d6d1 v9.0.0933

patch 9.0.0933: Kitty shows "already at oldest change" on startup Commit: https://github.com/vim/vim/commit/43300f6034fbefb54b5d1dc1b4c72d5fe57438c8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 23 23:30:58 2022 +0000 patch 9.0.0933: Kitty shows "already at oldest change" on startup Problem: Kitty shows "already at oldest change" on startup. Solution: When receiving the keyboard protocol state return the ignore key. (closes #11601)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Nov 2022 00:45:03 +0100
parents 43efa4f5a8ea
children
line wrap: on
line source

" Vim syntax file
" Language:	git send-email message
" Maintainer:	Tim Pope
" Filenames:	.gitsendemail.*
" Last Change:	2016 Aug 29

if exists("b:current_syntax")
  finish
endif

runtime! syntax/mail.vim
unlet! b:current_syntax
syn include @gitsendemailDiff syntax/diff.vim
syn region gitsendemailDiff start=/\%(^diff --\%(git\|cc\|combined\) \)\@=/ end=/^-- %/ fold contains=@gitsendemailDiff

syn case match

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

hi def link gitsendemailComment Comment

let b:current_syntax = "gitsendemail"