Browse files

Add "else" to indentkeys

  • Loading branch information...
1 parent 0d4ae14 commit da02ee9f62531138c7fc81239e61d1205070a356 @AndrewRadev AndrewRadev committed Feb 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 indent/ruby.vim
View
2 indent/ruby.vim
@@ -19,7 +19,7 @@ setlocal nosmartindent
" Now, set up our indentation expression and keys that trigger it.
setlocal indentexpr=GetRubyIndent(v:lnum)
setlocal indentkeys=0{,0},0),0],!^F,o,O,e
-setlocal indentkeys+==end,=elsif,=when,=ensure,=rescue,==begin,==end
+setlocal indentkeys+==end,=else,=elsif,=when,=ensure,=rescue,==begin,==end
" Only define the function once.
if exists("*GetRubyIndent")

0 comments on commit da02ee9

Please sign in to comment.