Mercurial > vim
view runtime/syntax/gitsendemail.vim @ 34312:737023edd0a5 v9.1.0090
patch 9.1.0090: Assigning wrong colors when parsing terminal OSC response
Commit: https://github.com/vim/vim/commit/45932c5c4a9ec01f7c2aa09b1574430853dafb4b
Author: Maxim Kim <habamax@gmail.com>
Date: Fri Feb 9 23:11:54 2024 +0100
patch 9.1.0090: Assigning wrong colors when parsing terminal OSC response
Problem: Assigning wrong colors when parsing terminal OSC response
Solution: Correctly assign Green and Blue from the terminal response
(Maxim Kim)
closes: #13981
Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Feb 2024 23:15:04 +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"