sponsor Vim development Vim logo Vim Book Ad

ruby.vim : Ruby Indentation with IndentAnything

 script karma  Rating 15/7, Downloaded by 1581    Comments, bugs, improvements  Vim wiki

created by
Yuji Yamamoto
 
script type
indent
 
description
This is a Ruby Indentation script.
I don't like the default indent/ruby.vim ( vim-ruby from RubyGems ).

NOTE:
  This script requires IndentAnything version 1.2.2 or above.
  See http://www.vim.org/scripts/script.php?script_id=1839 .
 
install details
Extract the gzip file.
Then copy the file in your home directory under ~/.vim/indent/.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ruby.vim.gz 0.1.7 2012-11-08 7.0 Yuji Yamamoto Fixed a bug which happens when putting some word including 'end' (e.g. pending) in a block. (Thanks to bmx for reporting the bug!)
ruby.vim.gz 0.1.6 2009-11-21 6.0 Yuji Yamamoto Removed '*' and '/' from b:lineContList. Because '/' causes a mis-indent when using a Regexp literal.
Note I've never tried this script on vim 6.0.
ruby.vim.gz 0.1.5 2009-08-21 7.0 Yuji Yamamoto Fixed a bug which happens when you use a statement modifier.
ruby.vim.gz 0.1.2 2009-08-17 7.0 Yuji Yamamoto Fixed a simple mistake and make one of b:indentTrios better.
ip used for rating: 54.80.140.26

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo