tree-sitter is really helpful in difftastic, but we still have to do some post-processing. We need to know which tokens are OK to move around (e.g. variables) and which aren't (delimiters).
In the second run, I've fixed delimiters in JSX, so you don't get mismatched > on h1.
miniblog.
Related Posts
A major milestone in my lisp programming experience: fixed a mismatched paren in Emacs itself! https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=56da7add7845f0685dd6d5a1f7ae0a76cb2953da (cf xkcd:859)
