Andrey Kuznetsov
Andrey Kuznetsov

Reputation: 11840

Vim Ruby hash indentation

I am using Vim for Ruby development and I have some annoying problem. When I type Ruby hashes, I see the wrong indentation:

{
  { #Here it is.
}
}

How it is possible to resolve this?

I am using akitaonrails vimfiles.

Upvotes: 0

Views: 1952

Answers (2)

Vitaly Kushner
Vitaly Kushner

Reputation: 9465

try http://github.com/vim-ruby/vim-ruby

seems to be a comprehensive ruby support for vim.

Upvotes: 3

Andrey Kuznetsov
Andrey Kuznetsov

Reputation: 11840

Yes, I tried. I found the solution - alternative indent/ruby.vim - http://www.vim.org/scripts/script.php?script_id=2742

Upvotes: 1

Related Questions