Re: to enable C or C++ syntax highlighting in Vi Editor



SaranJothy wrote:

> I mean the command used for it to enable the syntax highlighting.
>
> I tried :syntax enable but its not working.
>
Put the following lines in your <homedir>/.vimrc:
set syntax=on
And it should work.
--
Madhav.

.



Relevant Pages