radian-software / apheleia

🌷 Run code formatter on buffer contents without moving point, using RCS patches and dynamic programming.
MIT License
517 stars 73 forks source link

Opening the buffer log automatically when an error occurs #295

Open JohnWick95 opened 2 months ago

JohnWick95 commented 2 months ago

Currently, the error message is partially displayed in the echo area, but that is not enough to quickly identify the error. One has to jump to the buffer or use apheleia-goto-error. Is there an option to have the log buffer open automatically after an error?

raxod502 commented 2 months ago

I do not think there is an option for this by default, but you could probably accomplish it by adding a function to apheleia-formatter-exited-hook.