From: Paul Brannan Date: 2002-03-19T01:07:39+09:00 Subject: Re: Mini Rant: Indenting On Mon, Mar 18, 2002 at 02:14:47AM +0900, Thomas Hurst wrote: > Why is it that I see *so* much code like: > > (uri/generic.rb) > if USERINFO !~ v > 桟祁祁祁raise InvalidComponentError, > 桟祁祁祁 "bad component(expected userinfo component or > user component): #{v}" > end AFAIK, it's a vi thing. If I set: :set tabstop=8 :set shiftwidth=2 :set autoindent then vi's autoindent inserts a tab any time it sees 8 spaces. If anyone knows a way around this, I'm all ears. Note that vim does not have this problem, since it has the "expandtab" option. Paul