[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Bringing some style to my C code - How?



Hi,
   Omit the colon - ":", just specify "syntax on" in your .vimrc.

Moinak.

> 
> > you could as a hack add an entry in your
> > /usr/share/vim/vim54/filetype.vim (assuming vim 5.4)
> > for rc files...
> > > :syntax on
> > > after you have opened the file. Have consistent extension. In my
case, I
> > > could not call this option from .*rc file...
> 
> No no no! I meant that specifying ':syntax on' in my .exrc, .vimrc,
> .gvimrc FAILED! I had to manually specify it.. what am I missing?
> --------------------------------------------------------------------
> The Linux India Mailing List Archives are now available.  Please search
> the archive at http://lists.linux-india.org/ before posting your
question
> to avoid repetition and save bandwidth.
> 


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.