How do you enable syntax highlighting in Vim?
Answer
syntax on
Explanation
Use syntax on in your vimrc to enable syntax highlighting for all supported file types. Use syntax off to disable it.
syntax on
Use syntax on in your vimrc to enable syntax highlighting for all supported file types. Use syntax off to disable it.