Remove superfluous padding from expression

This commit is contained in:
kul 2015-07-17 15:38:52 +05:30
parent 0aabcdd798
commit 74d392339c

View File

@ -849,7 +849,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