From: Logan Capaldo Date: 2006-04-20T03:15:45+09:00 Subject: Re: VIM + indentation/highlightning for ruby --Apple-Mail-21--340387123 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Apr 19, 2006, at 12:29 PM, Meino Christian Cramer wrote: > Thats all not that important. But the indentation....: > > #!/usr/bin/ruby > require 'crypt/ISAAC' > require 'enumerator' > > rng = Crypt::ISAAC.new > > alpha=("A".."Z").to_a > > 1000000.times { > 12.times { > 5.times { > a=rng.rand(26) > print alpha[a] > } > print " " > } > print "\n" > > > Not that, what I would exspect... > > Any other ideas ? Yeah, blocks confuse vim's indentation sometimes. I especially enjoy it when it does things like some_long_identifier.each do |args| blah blah end For the most part I just suck it up and change those things by hand. --Apple-Mail-21--340387123--