indent comments

Nikolai Weibull vim-ruby-devel-list at pcppopper.org
Sat Oct 18 16:25:35 EDT 2003


* Guoliang Cao <gcao at lemurnetworks.net> [Oct, 17 2003 17:00]:
> 1) comments start with "#" are not indented;
depends.  anyway, fixed in latest.
> 2) doesn't work if "{" is in the middle of a line and "}" is not in the same line;
and never will.  don't write code like this.
i assume you mean
blah.each { |x| puts "here"
	puts "and later, here"
}
> 3) continuation lines cause problems; here is one
>                 TkLabel.new(f,TkDefaults::GUI['GoMatch.label.color'].update('text'=>$user+':')).grid(
>                                                                                          'column'=>0,'row'=>3,'sticky'=>'ew')
fixed.
	nikolai



--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}


More information about the vim-ruby-devel mailing list