-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lines after private
should not be indented in all cases
#56
Comments
As far as I understand your request, this already is the default behaviour. For example: class Foo
def foo
puts :bar
end
private :foo
def bar
puts :baz
end
private :bar
end The current indenting script doesn't take into account Are you sure you're using the latest version of vim-ruby? Is it possible that you're using some other indenting script instead? |
On Fri, Nov 11, 2011 at 20:03, Bodaniel Jeanes
The rule for indentation of private, protected, and public should be |
There word "private" doesn't even appear in indent/ruby.vim. @bjeanes, I'm assuming the problem is with your setup. |
Yes it would seem so. I'll have to dig in to see where that could come from. |
E.g.
Basically, if
private
has any arguments, no following methods should be intented.Ideally indentation after
private
should be optional entirely, as there isn't conformity in the community about how that should be.The text was updated successfully, but these errors were encountered: