Skip to content
/ rufo.el Public
forked from danielma/rufo.el

Emacs minor-mode to automatically format ruby with rufo.

Notifications You must be signed in to change notification settings

pduey/rufo.el

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Emacs minor-mode to automatically format ruby with rufo.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 98.5%
  • Ruby 1.5%