Re: to enable C or C++ syntax highlighting in Vi Editor
- From: "Madhav" <madhav.kelkar@xxxxxxxxx>
- Date: 29 Dec 2005 02:06:07 -0800
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.
.
- Follow-Ups:
- Re: to enable C or C++ syntax highlighting in Vi Editor
- From: SaranJothy
- Re: to enable C or C++ syntax highlighting in Vi Editor
- References:
- to enable C or C++ syntax highlighting in Vi Editor
- From: SaranJothy
- to enable C or C++ syntax highlighting in Vi Editor
- Prev by Date: to enable C or C++ syntax highlighting in Vi Editor
- Next by Date: Re: to enable C or C++ syntax highlighting in Vi Editor
- Previous by thread: to enable C or C++ syntax highlighting in Vi Editor
- Next by thread: Re: to enable C or C++ syntax highlighting in Vi Editor
- Index(es):
Relevant Pages
|