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
1 changed files with 8 additions and 0 deletions

View File

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