From 3247725cc5091ac5645155387d129b9e83887b0d Mon Sep 17 00:00:00 2001 From: Andrew Radev Date: Sat, 17 Dec 2016 11:51:17 +0200 Subject: [PATCH] Correct default indent --- indent/ruby.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indent/ruby.vim b/indent/ruby.vim index e050bd3c..85d58722 100644 --- a/indent/ruby.vim +++ b/indent/ruby.vim @@ -245,7 +245,7 @@ function GetRubyIndent(...) " By default, just return the previous line's indent " Decho "Default case matched" - return -1 + return indent(indent_info.plnum) endfunction " 3. Indenting Logic Callbacks {{{1