[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: vim syntax highlight on C program files only?



on Mon, Aug 27, 2001 at 06:59:56PM -0700, Osamu Aoki (debian@aokiconsulting.com) wrote:
> On Mon, Aug 27, 2001 at 06:52:48PM -0700, Erik Steffl wrote:
> > "Karsten M. Self" wrote:
> > > I know that there's an 'au' and 'augroup' commands, and that a number of
> > > vim settings can be configured using these.  I'm not sure what current
> > > settings exist for C program files (matching pattern *.c), or how I
> > > should use these settings to enable appropriate settings for programming
> > > support.
> 
> >   put:
> > syntax on
> > 
> >   into your ~/.vimrc
> 
> Another location is to check id /etc/vimrc.  There is more comments so
> idiot like me can set it right.

Thanks.  Found the 'augroup cprog' stanza there.

-- 
Karsten M. Self <kmself@ix.netcom.com>          http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             There is no K5 cabal
  http://gestalt-system.sourceforge.net/               http://www.kuro5hin.org
   Free Dmitry! Boycott Adobe! Repeal the DMCA!    http://www.freesklyarov.org
Geek for Hire                        http://kmself.home.netcom.com/resume.html

Attachment: pgpzhoVkkxWDi.pgp
Description: PGP signature


Reply to: