Skip to content

cap10morgan/ruby-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby pack

This pack adds some features to Emacs Live's Ruby support.

Details

ruby-pack adds the following features in ruby-mode:

  • adds 'end' automatically using the ruby-end package
  • closes parens, quotes, etc. using the autopair package
  • adds additional file types to ruby-mode (see "File types" below for details)

File types

These file types will automatically trigger ruby-mode.

  • *.rake
  • Rakefile
  • *.gemspec
  • *.ru
  • Gemfile
  • Guardfile
  • Capfile
  • *.thor
  • Thorfile
  • Vagrantfile
  • *.jbuilder

Usage

This pack uses git submodules, so remember to clone the repository recursively:

git clone https://github.com/cap10morgan/ruby-pack.git --recursive

Once that's done, add ruby-pack to your emacs-live configuration by adding this line to your ~/.emacs-live.el file:

(live-add-pack '("/path/to/ruby-pack"))

Then, you'll need to restart emacs. It's that easy!

About

Emacs Live pack adding additional features for Ruby editing

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •