Merge pull request #229 from kul/master

Remove superfluous padding from expression
This commit is contained in:
Tim Pope 2015-07-18 12:51:18 -04:00
commit 9f7b1844cf

View File

@ -916,7 +916,11 @@ function! s:opfunc(type) abort
silent exe "normal! `[v`]y" silent exe "normal! `[v`]y"
endif endif
redraw redraw
if fireplace#client().user_ns() ==# 'user'
return repeat("\n", line("'<")-1) . repeat(" ", col("'<")-1) . @@ return repeat("\n", line("'<")-1) . repeat(" ", col("'<")-1) . @@
else
return @@
endif
finally finally
let @@ = reg_save let @@ = reg_save
let &selection = sel_save let &selection = sel_save