From: "Brian Schröder" Date: 2005-05-24T03:24:04+09:00 Subject: Re: Vim's Ruby indenting On 23/05/05, Nikolai Weibull wrote: > Vincent Foley wrote: > > > However, the myvar = case foo still breaks on the next line. > > I'll add support for this at a later time. Until then, consider > rethinking writing code that uses the case statement in this manner, > nikolai I like this kind of code. a = case b when 1: 10 when 2: 20 else 50 end makes it clear that something is assigned to a. While case b when 1: a = 10 when 2: a = 20 else a = 50 end does not make this important fact as clear on first sight. best regards, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/