indent comments

Guoliang Cao gcao at lemurnetworks.net
Fri Oct 17 11:58:42 EDT 2003


Hi,

I'm using vim 6.2 + vim-ruby (the stable version) to indent ruby files. It
works great except that:

1) comments start with "#" are not indented;
2) doesn't work if "{" is in the middle of a line and "}" is not in the same line;
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')
4) has problem with the attached file.

Are those fixed in the latest code?

Thanks,
Cao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sgf_info.rb
Type: application/octet-stream
Size: 4520 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/vim-ruby-devel/attachments/20031017/4462b499/sgf_info.obj


More information about the vim-ruby-devel mailing list