Remove superfluous padding from expression

This commit is contained in:
kul 2015-07-17 15:38:52 +05:30
parent 0aabcdd798
commit 74d392339c
1 changed files with 5 additions and 1 deletions

View File

@ -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