Fix indentation of return line

This commit is contained in:
Jacob Niehus 2015-08-02 10:13:13 -07:00
parent d54c7e27fe
commit 1ff6e3c65b

View File

@ -70,7 +70,7 @@ function! s:reindent(start, lines, new_indent)
if s:get_setting('exchange_indent', 1) == '==' if s:get_setting('exchange_indent', 1) == '=='
let lnum = nextnonblank(a:start) let lnum = nextnonblank(a:start)
if lnum == 0 || lnum > a:start + a:lines - 1 if lnum == 0 || lnum > a:start + a:lines - 1
return return
endif endif
let line = getline(lnum) let line = getline(lnum)
execute "silent normal! " . lnum . "G==" execute "silent normal! " . lnum . "G=="