Open drewr opened 7 years ago
I looked into this, I was thinking this might be better handled with json-mode, in fact, highlighting an expression and doing M-x json-mode-beautify
does exactly what I think you want. Would that work for you? I can consider making json-mode
an optional dependency and add a keybinding for it, if you think that would work.
Given:
It'd be great if upon
C-c C-c
, it would transform into: