Skip to content

An Emacs mode for working with the sinatra web-application DSL

Notifications You must be signed in to change notification settings

eschulte/sinatra_el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Emacs support for using the Sinatra web development DSL

This includes...

  • a major mode combining ruby-mode and haml-mode for your main sinatra file
  • a command sinatra-console \C-;c for quickly running irb in your sinatra environment
  • a command sinatra-web-server \C-;w for quickly running your sinatra web-server in an Emacs comint buffer allowing jumping from errors to source
  • bundled with some basic ruby modes

To use sinatra_el...

  1. add this directory to your load path
  2. add this to your .emacs init file (require 'sinatra)
  3. open your sinatra application file, and run M-x sinatra-mode

Note: due to limitation of MuMaMo-mode you must add the following haml comment line

-#end-of-file

to the bottom of your file for haml mode to turn on following the __END__ marker

About

An Emacs mode for working with the sinatra web-application DSL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published