Re: git color in commit editor
- From
Matthijs Kooijman <matthijs@stdin.nl>
- Date
- Jan 6, 2011, 10:15 UTC
- Message-ID
- <20110106101531.GU3069@login.drsnuggles.stderr.nl>
- In-Reply-To
- <AANLkTimMZaSW4ZUS60Vo38vyuq-PPqPhGdCVZjFzF2Gs@mail.gmail.com>
Hey Pavan,
Show 5 quoted lines
> I have git version git version 1.5.6.3, on 1 system and get the colors > right during a git commit (commit editor being vim..) > On another machine with same vim version and same gitconfig and pretty > much all the same settings except that the > git version is git version 1.6.3.3, I don't have color in the commit editor...
Try the ":syntax on" command in your vim (without the quotes, with the colon).
You can put it in your ~/.vimrc file as well (without the colon there).
Gr.
Matthijs