From: Jeff King <peff@peff.net>
To: "J. Bruce Fields" <bfields@fieldses.org>, git@vger.kernel.org
Subject: Re: commit message columns
Date: Tue, 23 Jan 2007 00:17:20 -0500 [thread overview]
Message-ID: <20070123051720.GA24259@coredump.intra.peff.net> (raw)
In-Reply-To: <20070122221927.GA3746@moooo.ath.cx>
On Mon, Jan 22, 2007 at 11:19:27PM +0100, Matthias Lederhofer wrote:
> You could add this to your .vimrc:
> > autocmd BufNewFile,BufRead .git/COMMIT_EDITMSG setlocal tw=60 ft=human
> Has anyone a good filetype for this?
I do the same thing, but I use filetype=gitcommit. Then it picks up the
syntax highlighting file automatically (see contrib/vim).
-Peff
prev parent reply other threads:[~2007-01-23 5:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-22 21:19 commit message columns J. Bruce Fields
2007-01-22 21:23 ` Jimmy Tang
2007-01-22 21:44 ` J. Bruce Fields
2007-01-22 21:23 ` Shawn O. Pearce
2007-01-22 22:19 ` Matthias Lederhofer
2007-01-23 5:17 ` Jeff King [this message]
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=20070123051720.GA24259@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=bfields@fieldses.org \
--cc=git@vger.kernel.org \
/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).