When my .vimrc uses "syntax on", and try vim -D , i got
Entering Debug mode. Type "cont" to continue. C:\Program Files\Git\share\vim\vimrc line 3: set ai " set auto-indenting on for programming
> cont
Error detected while processing C:\Program Files\Git\share\vim\vim72\syntax\syntax.vim: line 15: E484: Can't open file C:\Program Files\Git\share\vim\vim72\syntax/nosyntax.vim Press ENTER or type command to continue
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
If you want to play games with vi, please use msysGit.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
There is a workaround for this issue. I unfortunately, didn't track it down to its root cause, but to get it working, just tweak the ~/.gitconfig and have the editor set explicitly and without spaces. Below is what the relevant lines look like from my .gitconfig
[core] editor = C:\\Progra~1\\Vim\\vim72\\vim.exe
Hope this helps.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
If you compare the paths in the original report and in your .gitconfig, you will realize that you no longer use Git's vi, so it has nothing to do with spaces in the path.
The proper fix for the issue is to use msysGit, which contains all the needed files.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
syntax/nosyntax.vim is indeed missing. At first I ignored this issue after your WontFix, but today looked into it because of the activity. The subject should rather have been called "Can't disable syntax highlighting", since this is actually the real problem besides the error message. Typing ":syntax off" produces an error and syntax highlighting stays active.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings