Minor-mode to automatically format ruby with rufo.
Note: rufo.el
only supports rufo >= 0.0.38
because of the exit codes introduced in that version.
Ensure that you have rufo installed and in your path.
Then, in your init.el
:
(add-hook 'ruby-mode-hook 'rufo-minor-mode)
rufo-mode
has first-class support for using rufo with bundler
(setq rufo-minor-mode-use-bundler t)
You can change the location of rufo.
(setq rufo-minor-mode-executable "rufa")
You can enable rufo-minor-mode-debug-mode
which will output additional info into the messages buffer
- @aaronjensen for eslintd-fix, which I forked for this project
- The authors of go-mode.el, from which I copied the RCS diff application code
- All contributors