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.
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.
Have you tried with a hash that's actually legal ruby code? The way you type it in your example is syntactically invalid and so you don't get any indentation.
Yes, I tried. I found the solution - alternative indent/ruby.vim - http://www.vim.org/scripts/script.php?script%5Fid=2742