Skip to content

Commit d4132ef

Browse files
committed
Minor documentation fixes and adjustments
1 parent c277b5b commit d4132ef

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

doc/vim-ruby.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
1. Ruby motions |ruby-motion|
44
2. Ruby text objects |ruby-text-objects|
5-
3. Access modifier indentation |ruby-text-objects|
5+
3. Access modifier indentation |ruby-access-modifier-indentation|
66

77

88
==============================================================================
@@ -61,16 +61,19 @@ iM "inner class", select contents of "class"/"end"
6161
block, excluding the "class" and "end" themselves.
6262

6363
==============================================================================
64-
3. Access modifier indentation *ruby-motion*
64+
3. Access modifier indentation *ruby-access-modifier-indentation*
65+
*g:ruby_indent_access_modifier_style*
6566

6667
Different access modifier indentation styles can be used by setting: >
6768
6869
:let g:ruby_indent_access_modifier_style = 'normal'
6970
:let g:ruby_indent_access_modifier_style = 'indent'
7071
:let g:ruby_indent_access_modifier_style = 'outdent'
7172
<
72-
By default, the normal access modifier style is used.
73-
Access modifier style 'normal':
73+
By default, the "normal" access modifier style is used.
74+
75+
Access modifier style "normal":
76+
>
7477
class Indent
7578
private :method
7679
protected :method
@@ -81,7 +84,9 @@ Access modifier style 'normal':
8184
public
8285
def method; end
8386
end
84-
Access modifier style 'indent':
87+
<
88+
Access modifier style "indent":
89+
>
8590
class Indent
8691
private :method
8792
protected :method
@@ -92,7 +97,9 @@ Access modifier style 'indent':
9297
public
9398
def method; end
9499
end
95-
Access modifier style 'outdent':
100+
<
101+
Access modifier style "outdent":
102+
>
96103
class Indent
97104
private :method
98105
protected :method
@@ -103,5 +110,6 @@ Access modifier style 'outdent':
103110
public
104111
def method; end
105112
end
113+
<
106114

107115
vim:tw=78:sw=4:ts=8:ft=help:norl:

0 commit comments

Comments
 (0)