- #1
- 5,199
- 38
When I open a C source file in vim in Mac OS X, syntax is no longer colour-coded. I think that this happened after I tinkered around with ~/.bash_profile. I did the latter because I was trying to get ls to use colours, and I found an article online that told me what lines to add to .bash_profile to get ls colours. But even after commenting out my additions to .bash_profile, the problem remains.
I'm not even sure where vim is installed. I think that I did not have it until I installed the Xcode developer tools (but I could be wrong). Does anyone know how I can restore the default colouring?
I'm not even sure where vim is installed. I think that I did not have it until I installed the Xcode developer tools (but I could be wrong). Does anyone know how I can restore the default colouring?
Last edited by a moderator: