Home

Awesome

rufo.el Build Status MELPA MELPA Stable

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.

Usage

Ensure that you have rufo installed and in your path.

Then, in your init.el:

(add-hook 'ruby-mode-hook 'rufo-minor-mode)

Options

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

Thanks