I’m using this superb js2-mode fork, along with autopairs to make Javascript editing awesome in Emacs. However it occurs to me that since js2-mode is a full parser, it should be possible to automatically insert semi-colons whenever I’m in a function calling context.
I thought I’d ask if anyone’s looked into this before I dig too much deeper.
Here is my code that solves this:
le-js2-mode-setup-partial.elYou can also get this code from this GitHub Gist.