From: Nikolai Weibull Date: 2005-05-24T18:17:18+09:00 Subject: Re: Vim's Ruby indenting gsinclair@gmail.com wrote: > The following code indents properly and is what I use. > > a = > case b > when 1: 10 > when 2: 20 > else 50 > end The reason that this works and the other form doesn’t is that in this instance the indentation code sees the = at the end of a line so it indents one level. Then, the case is seen at the start of the next line, so it acts like it would without being part of an assignment. It’ll be quite difficult to fix this properly, but I’ll try. Thanks for the kind words, nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}