From 74d392339c9d5e6067d06fc2c15cfe55a863e641 Mon Sep 17 00:00:00 2001 From: kul Date: Fri, 17 Jul 2015 15:38:52 +0530 Subject: [PATCH] Remove superfluous padding from expression --- plugin/fireplace.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index e74d47e..eb33146 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -849,7 +849,11 @@ function! s:opfunc(type) abort silent exe "normal! `[v`]y" endif redraw - return repeat("\n", line("'<")-1) . repeat(" ", col("'<")-1) . @@ + if fireplace#client().user_ns() ==# 'user' + return repeat("\n", line("'<")-1) . repeat(" ", col("'<")-1) . @@ + else + return @@ + endif finally let @@ = reg_save let &selection = sel_save