esformatter
esformatter copied to clipboard
Emacs integration
Emacs
anyone? We got vi
and atom
so it intrigues me why this editor is missing.
@FrancisMurillo after reading syl20bnr/spacemacs#2850, I tried writing an emacs command to do this.
https://github.com/jonboiser/esformatter.el
It's pretty basic. It has no error handling, and is not configurable. I really only know basic elisp, but if people are interested in this script, I'd be open to keep working on it and reach feature parity with the other editor integrations.
@jonboiser, after searching around I came across jsfmt which uses esformatter
under the hood. It works enough but I am not expert in it's configuration. Maybe an entry on the wiki might be nice.
Btw, awesome that you came up a package in such a short time.