Skip to content

Commit c13aa57

Browse files
committed
Default to "do" style of continued block indentation
It's still not the best set of names, but it is what it is.
1 parent 416be2b commit c13aa57

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/ft-ruby-indent.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Different block indentation styles can be used by setting: >
6464
:let g:ruby_indent_block_style = 'expression'
6565
:let g:ruby_indent_block_style = 'do'
6666
<
67-
By default, the "expression" block indent style is used.
67+
By default, the "do" block indent style is used.
6868

6969
Block indent style "expression":
7070
>

indent/ruby.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ endif
2626

2727
if !exists('g:ruby_indent_block_style')
2828
" Possible values: "expression", "do"
29-
let g:ruby_indent_block_style = 'expression'
29+
let g:ruby_indent_block_style = 'do'
3030
endif
3131

3232
setlocal nosmartindent

0 commit comments

Comments
 (0)