We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c7606 commit fe2e520Copy full SHA for fe2e520
doc/ft-ruby-indent.txt
@@ -119,7 +119,7 @@ following setting.
119
:let g:ruby_indent_hanging_elements = 0
120
<
121
By default, this setting is "1" (true) meaning that hanging indentation is
122
-enabled.
+enabled in some cases.
123
124
Here is an example method call when the setting is true (non-zero):
125
>
@@ -135,5 +135,14 @@ And the same method call when the setting is false (zero):
135
on_sale: true,
136
)
137
138
+Note that, even if the setting is turned on, you can still get non-hanging
139
+indentation by putting each argument on a separate line:
140
+>
141
+ render(
142
+ 'product/show',
143
+ product: product,
144
+ on_sale: true,
145
+ )
146
+<
147
148
vim:tw=78:sw=4:ts=8:ft=help:norl:
0 commit comments