3 ms·
Surely one could do it with different background colors instead. Any examples of that?
by swayvil 2y ago
Surely one could do it with different background colors instead. Any examples of that?
- el_memorioso 2y agoFor matching parentheses, Emacs users can use a package called rainbow-delimiters that colors matching delimiters. Different levels of enclosure use different colors. I've found this to be too much visual noise -- I am usually just interested on the delimiters for the current s-expressions. In this vein, having multiple different colored backgrounds would be garish and distracting for me.
- tmtvl 2y agoI have seen it done with foreground colours: https://github.com/alphapapa/prism.el https://github.com/alphapapa/prism.el I think I once saw a project turning Scheme into a visual block-based representation, but I can't find it again.