Skip to content
This repository was archived by the owner on Apr 27, 2018. It is now read-only.

Commit b9fc8a2

Browse files
committed
Minor doc tweaks
1 parent abe527c commit b9fc8a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

indent/ruby.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,13 +462,13 @@ function GetRubyIndent(...)
462462

463463
if g:ruby_indent_access_modifier_style == 'indent'
464464
" If the previous line was a private/protected keyword, add a
465-
" level of indent
465+
" level of indent.
466466
if s:Match(lnum, s:indent_access_modifier_regex)
467467
return indent(lnum) + &sw
468468
endif
469469
elseif g:ruby_indent_access_modifier_style == 'outdent'
470-
" If the previous line was a private/protected/public keyword, remove
471-
" a level of indent
470+
" If the previous line was a private/protected/public keyword, add
471+
" a level of indent, since the keyword has been out-dented.
472472
if s:Match(lnum, s:access_modifier_regex)
473473
return indent(lnum) + &sw
474474
endif

0 commit comments

Comments
 (0)