Remove unused function
This commit is contained in:
parent
6a239c93af
commit
a0fde95d2e
@ -576,10 +576,6 @@ function! fireplace#session_eval(expr, ...) abort
|
|||||||
throw err
|
throw err
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fireplace#eval(expr, ...) abort
|
|
||||||
return fireplace#eval(a:expr, extend({'session': 0}, a:0 ? a:1 : {}))
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! fireplace#echo_session_eval(expr, ...) abort
|
function! fireplace#echo_session_eval(expr, ...) abort
|
||||||
try
|
try
|
||||||
echo fireplace#session_eval(a:expr, a:0 ? a:1 : {})
|
echo fireplace#session_eval(a:expr, a:0 ? a:1 : {})
|
||||||
@ -736,7 +732,7 @@ function! s:Eval(bang, line1, line2, count, args) abort
|
|||||||
endif
|
endif
|
||||||
if a:bang
|
if a:bang
|
||||||
try
|
try
|
||||||
let result = fireplace#eval(expr, options)
|
let result = fireplace#session_eval(expr, options)
|
||||||
if a:args !=# ''
|
if a:args !=# ''
|
||||||
call append(a:line1, result)
|
call append(a:line1, result)
|
||||||
exe a:line1
|
exe a:line1
|
||||||
|
Loading…
Reference in New Issue
Block a user