Thanks for this package, it's working great for me!
This PR adds the web-beautify-buffer command, which autodetects which web-beautify-*-buffer function it should run, based on the current buffer's major-mode.
I also updated the documentation and added an example use-package config, which makes the setup for this package nice and clean IMO. Another nice thing is that use-package is smart about autoloading packages for adding hooks or binding commands--no need to manually wrap a bunch of things in with-eval-after-load.
I still need to update the docs in a couple places, but I thought I'd put this PR up first to see if this is something you'd be interested in merging.
Thanks for this package, it's working great for me!
This PR adds the
web-beautify-buffer
command, which autodetects whichweb-beautify-*-buffer
function it should run, based on the current buffer's major-mode.I also updated the documentation and added an example
use-package
config, which makes the setup for this package nice and clean IMO. Another nice thing is thatuse-package
is smart about autoloading packages for adding hooks or binding commands--no need to manually wrap a bunch of things inwith-eval-after-load
.I still need to update the docs in a couple places, but I thought I'd put this PR up first to see if this is something you'd be interested in merging.