Restore fireplace#eval for compatibility
Use fireplace#session_eval if you want to evaluate something from the user, and fireplace#evalparse if you want to query for information.
This commit is contained in:
parent
b56e40a2b6
commit
7c0c524259
@ -569,6 +569,10 @@ function! fireplace#session_eval(expr, ...) abort
|
|||||||
throw err
|
throw err
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! fireplace#eval(...) abort
|
||||||
|
return call('fireplace#session_eval', a:000)
|
||||||
|
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 : {})
|
||||||
|
Loading…
Reference in New Issue
Block a user