<div dir="auto">That seems like it could be valuable work, but FWIW I have been working on a different solution to adding syntax highlighting to the blame page. I hope to have it ready (at least a prototype) in the next day or two.</div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 15, 2017 11:47 AM, "Jason A. Donenfeld" <<a href="mailto:Jason@zx2c4.com">Jason@zx2c4.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Right, we may very well need a more capable model.<br>
<br>
One approach would be to get rid of all the exec stuff, and instead<br>
have plugins, that can register themselves in all sorts of places. A<br>
plugin would define a series of hooks and filters, which would be<br>
directly called at the right time. We'd expand the Lua stuff to<br>
support that, and then add Python support and all the other various<br>
languages one at a time.<br>
<br>
Would indeed be a big project, but potentially useful.<br>
<br>
Though I _do_ like the simplicity of the current situation quite a bit.<br>
</blockquote></div></div>