Fix newlines in c!

Closes #146.
This commit is contained in:
Tim Pope 2014-04-23 23:16:02 -04:00
parent 05cbc742a1
commit 12386dc0c2

View File

@ -837,7 +837,7 @@ function! s:filterop(type) abort
try
set selection=inclusive clipboard-=unnamed clipboard-=unnamedplus
let expr = s:opfunc(a:type)
let @@ = matchstr(expr, '^\n\+').fireplace#session_eval(expr).matchstr(expr, '\n\+$')
let @@ = fireplace#session_eval(matchstr(expr, '^\n\+').expr).matchstr(expr, '\n\+$')
if @@ !~# '^\n*$'
normal! gvp
endif