<FromGitter>
<moe:busyloop.net> but got it shootered straight down ;)
<FromGitter>
<moe:busyloop.net> e.g. say you have a complicated {% else %} case in a macro, and want to try a different variant. ⏎ currently i basically eyeball how many `{%`'s are in there that i'd need to patch up and then either defuse them with spaces, or cut out whole section and stash it in a temp file. not a huge deal, but not a great dev experience either.
Guest41 has joined #crystal-lang
Guest41 has quit [Client Quit]
nq_ has quit [Quit: Leaving]
<FromGitter>
<Blacksmoke16> can also just cut/paste it somewhere else in the file and comment it out
<FromGitter>
<moe:busyloop.net> well that's the part that doesn't work
<FromGitter>
<moe:busyloop.net> at least not if there are escapes involved
<FromGitter>
<moe:busyloop.net> ah, actually it does seem to work. guess i had just not scrolled far enough to get out of my nested macros.
<FromGitter>
<Blacksmoke16> 👍
<FromGitter>
<moe:busyloop.net> 👎 that's actually worse than putting it in a different file, now i have to search it to bring it back
<FromGitter>
<Blacksmoke16> :S not still in your clipboard?
<FromGitter>
<moe:busyloop.net> sure, workarounds are possible. clip history, making a vim plugin that can properly escape macros etc.
<FromGitter>
<moe:busyloop.net> but why make life harder than need be 🤷♂️
<FromGitter>
<Blacksmoke16> add in `{% elsif true %}` and do it there :P
Melancholia[m] has quit [Quit: You have been kicked for being idle]