Add __pretty support for the pretty_print plugin
hoelzro opened this issue · comments
Rob Hoelz commented
Values currently have no control over how they are printed; I think that the pretty print plugin should use a metamethod named __pretty
to allow custom printing logic.
On that train of thought, having rawprint
may be a good idea.