Add FireplaceEvalPost autocommand

Closes #232.
This commit is contained in:
Daniel Silva 2015-11-13 10:26:46 -02:00 committed by Tim Pope
parent 8579a41a18
commit f57537135a

View File

@ -802,6 +802,14 @@ function! fireplace#session_eval(expr, ...) abort
endif
endif
try
silent doautocmd User FireplaceEvalPost
catch
echohl ErrorMSG
echomsg v:exception
echohl NONE
endtry
call s:output_response(response)
if get(response, 'ex', '') !=# ''