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

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



on Tue, Aug 28, 2001 at 08:31:18AM -0400, Rob Ransbottom (rir@mediaone.net) wrote:
> On Mon, 27 Aug 2001, Osamu Aoki wrote:
> 
> > Just a thought and matter of taste, but...
> 
> You may also embed commands near the start of your file:
> 
>   :vi set tabstops=4 showmatch: 

Is there a setting which allows a tab to indent by 4 chars, but leaves
tabstops at 8 chars, where most apps seem to expect to find them?

I'm also curious as to the interaction between vim and indent,
particularly the ~/.indent.pro preferences file, in vim's 'cindent'
mode.  I've found that with -kr4 set in my indent preferences file, I'm
getting the desired behavior in vim with autoindentation, but I'm not
convinced it's a causal relation.

-- 
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: pgpGBmnFmVCpK.pgp
Description: PGP signature


Reply to: