git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "SZEDER Gábor" <szeder@ira.uka.de>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org, "SZEDER Gábor" <szeder@ira.uka.de>
Subject: [PATCH] vim syntax: highlight the diff in commit message template
Date: Wed, 24 Sep 2008 17:22:06 +0200	[thread overview]
Message-ID: <1222269726-15632-1-git-send-email-szeder@ira.uka.de> (raw)

The template generated by 'git commit -v' is much easier to read now.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 contrib/vim/syntax/gitcommit.vim |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/contrib/vim/syntax/gitcommit.vim b/contrib/vim/syntax/gitcommit.vim
index 332121b..0872e65 100644
--- a/contrib/vim/syntax/gitcommit.vim
+++ b/contrib/vim/syntax/gitcommit.vim
@@ -16,3 +16,5 @@ hi def link gitUntracked Comment
 hi def link gitCommitFile Type
 hi def link gitChangedFile Constant
 hi def link gitUntrackedFile Constant
+
+source $VIMRUNTIME/syntax/diff.vim
-- 
1.6.0.2.323.gb1a20

             reply	other threads:[~2008-09-24 15:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 15:22 SZEDER Gábor [this message]
2008-09-24 15:57 ` [PATCH] vim syntax: highlight the diff in commit message template Jeff King
2008-09-24 17:01   ` SZEDER Gábor
2008-09-24 17:53     ` [RFC/PATCH] remove vim syntax highlighting in favor of upstream Jeff King
2008-09-24 18:07       ` Shawn O. Pearce
2008-09-24 18:39       ` Garry Dolley
2008-09-24 19:56       ` SZEDER Gábor
2008-09-24 19:59         ` Jeff King
2008-09-25 12:48         ` SZEDER Gábor
2008-09-25 14:00           ` Bob Hiestand
2008-09-29 14:55         ` Shawn O. Pearce
2008-09-29 20:08           ` [PATCH] " SZEDER Gábor
2008-09-29 20:12             ` Jeff King
2008-09-30  8:29             ` Michael J Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1222269726-15632-1-git-send-email-szeder@ira.uka.de \
    --to=szeder@ira.uka.de \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).