Skip to content
Browse files

Minor doc tweaks

  • Loading branch information...
1 parent abe527c commit b9fc8a2f2e768701c52d77ef1e6f351184a7985a @AndrewRadev AndrewRadev committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 indent/ruby.vim
View
6 indent/ruby.vim
@@ -462,13 +462,13 @@ function GetRubyIndent(...)
if g:ruby_indent_access_modifier_style == 'indent'
" If the previous line was a private/protected keyword, add a
- " level of indent
+ " level of indent.
if s:Match(lnum, s:indent_access_modifier_regex)
return indent(lnum) + &sw
endif
elseif g:ruby_indent_access_modifier_style == 'outdent'
- " If the previous line was a private/protected/public keyword, remove
- " a level of indent
+ " If the previous line was a private/protected/public keyword, add
+ " a level of indent, since the keyword has been out-dented.
if s:Match(lnum, s:access_modifier_regex)
return indent(lnum) + &sw
endif

0 comments on commit b9fc8a2

Please sign in to comment.
Something went wrong with that request. Please try again.