Skip to content

Emacs integration with the Rufo ruby code formatter

License

Notifications You must be signed in to change notification settings

aleandros/emacs-rufo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emacs-rufo

Simple package for integrating emacs with rufo.

Provides a function, rufo-format-buffer, which replaces the current buffer with its formatted version.

Instal rufo

$ gem install rufo

Note that if the installations is global you might need to run the previous command with sudo.

Enable format on save

Add this to your configuration file:

(setq rufo-enable-format-on-save t)

Key-binding

C-c f is enabled in both ruby and enh-ruby modes.

About

Emacs integration with the Rufo ruby code formatter

Resources

License

Stars

Watchers

Forks

Packages

No packages published