Re: [PATCH] contrib/vim: add syntax highlighting file for commits
- From
Jeff King <peff@peff.net>
- Date
- Sep 12, 2006, 02:32 UTC
- Message-ID
- <20060912023256.GA6596@coredump.intra.peff.net>
- In-Reply-To
- <20060912020813.GD26332@socrates.priv>
On Mon, Sep 11, 2006 at 08:08:13PM -0600, Tom Prince wrote:
> > + 1. Copy commit-syntax.vim to vim's syntax directory: > > + $ cp commit-syntax.vim $HOME/.vim/syntax/gitcommit.vim > It would be more obvious if you could do cp gitcomit.vim $HOME/.vim/syntax/
It would be with only one file, but you could just as easily have a .vim/ftplugin/gitcommit.vim file (I think there are others, too). If you want to give it the "proper" name, it should probably be syntax/gitcommit.vim.
-Peff