get rid of the red highlight over your string literals in vim
Posted August 25, 2011on:
That is because i have turned on spell checker. So just do :set nospell or set nospell in the vimrc file, the annoying red highlight will be gone.
Early on i had tried to use FileType to set different error message colors but that approach failed. So i had lived with this annoying red thing for nearly a year. Just a few days ago it dawned on me that it must be the spell checker that is highlighting things it cannot recognize. Now the problem is gone! I can see my string literals without turning off the syntax first. In fact, a previous post was there because i was trying to turn off the highlight.
In my previous two jobs, i had always had access to a pre-tuned vimrc file from other engineers. Now here is me on my own getting a vimrc file that is truly mine 🙂