From: "Henry T. So Jr." Date: 2004-08-26T11:20:17+09:00 Subject: VIM syntax coloring files for Ruby I have noticed that VIM cannot properly color the following construct in Ruby: module MyModule def my_method foo = [ [ 1, 2 ], [3, 4], [5, 6] ] until foo.empty? foo.shift.each do |element| puts element end # colored to match until end # colored to match def end # colored to match module end # not colorized In the syntax/ruby.vim file, the line after the comment "statement with optional *do*", the statements here exclude rubyDoBlocks and rubyCurlyBlocks from containment. I'm not entirely sure why it was set up this way. If I change the ruby.vim file to remove this exclusion, it still can't properly handle this construct: module MyModule def my_method foo = [ [ 1, 2 ], [3, 4], [5, 6] ] until foo.empty? do foo.shift.each do |element| puts element end end end end Does anyone familiar with vim syntax files have any idea how to properly correct this? Regards, Henry