tonsky / Clojure-Sublimed

Clojure support for Sublime Text 4
MIT License
359 stars 22 forks source link

Interrupt pending eval when region is erased #58

Closed jaihindhreddy closed 2 years ago

jaihindhreddy commented 2 years ago

Closes #16.

Unfortunately, it appears that ephemeral sessions can't really be interrupted. Or at least, I couldn't get that to work.

So, I'm doing it only when sessions are being used, which happens when eval_in_session is true in the package settings.

tonsky commented 2 years ago

Right! That’s probably why I didn’t use ephemeral sessions in the first place. I am going to roll back that PR then and switch to clone-eval-close middleware instead

tonsky commented 2 years ago

Thanks! Merged as b9e9f36e3068473c6255f6e03dd0ce598434fe92