I have configured Git to use Vimdiff as its diff/merge tool on a Windows machine. It works, but the colors are messed up. First, it won't show any syntax highlighting, no matter how much I tell it to turn the syntax on and set the filetype. Second, the colorscheme is obnoxious, but when I do :colorscheme
and hit CTRL-D, I do not see the usual list of colorschemes. None of the default ones are there, only ones that I installed myself.
The weird thing is that my colorscheme is fine, and I have all the expected colorschemes available, and syntax highlighting works, when I launch Vim directly from the command prompt, i.e. not through Git.
This makes it unnecessarily painful to review changes, and it is especially annoying when I'm trying to show a diff to a coworker. They are nearly unreadable. This has been bothering me for months and I can't figure it out.
Is there something different about having Git start Vim from just launching Vim? How do I fix this so can get my Vims behaving consistently?