[BUG] Broken indentation

Nikolai Weibull mailing-lists.vim-ruby-development at rawuncut.elitemail.org
Sun Apr 10 08:23:19 EDT 2005


Tilman Sauerbeck, April 10:

> here's a snippet of code that isn't indented correctly by Vim:
> 
> foo do
> 	bar rescue nil
> 	end
> 
> The final "end" should be placed in column 0, but it's not.

In no way am I going to attempt to fix this.  You go right ahead and
write your code appropriately instead:

foo do
  bar
rescue
  nil
end

Thanks,
        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);}


More information about the vim-ruby-devel mailing list