haml-mode

Emacs mode for Haml.

haml-mode for Emacs

haml-mode is an Emacs major mode for use with HAML source files.

It provides syntax highlighting and support for syntax-aware indentation.

Support for syntax checking via flymake is available separately: see flymake-haml.

Installation

Via ELPA (recommended)

If you’re an Emacs 24 user or you have a recent version of package.el you can install haml-mode from the MELPA or Marmalade package repositories.

Manually

Ensure haml-mode.el is in a directory on your load-path, and add the following to your ~/.emacs or ~/.emacs.d/init.el:

(require 'haml-mode)

You will also need to ensure ruby-mode is installed: the version in Emacs 24 is sufficient.

Optional functionality

Certain nested :filter blocks are syntax-highlighted if additional libraries are available. Emacs 24’s js library will be used for :javascript blocks, while markdown-mode and textile-mode will be used for :markdown and :textile blocks respectively.

About

Author: Natalie Weizenbaum

Maintainer: Steve Purcell

Homepage: https://github.com/nex3/haml-mode

Related Repositories

haml-mode

haml-mode

Emacs mode for Haml. ...

haml.mode

haml.mode

HAML syntax definition for Coda & SubEthaEdit ...

haml-mode-coda2

haml-mode-coda2

HAML Mode for Coda 2 ...

remacs

remacs

that's basic emacs.. plus rinari, rspec-mode, git-emacs, mo-git-blame, gist.el, cucumber.el, haml-mode, sass-mode, yaml-mode, auto-complete-mode (no rsense), yasnippet with rails-snippets, rspec-snippets, ... and dark color theme + Inconsolata font that I ...

haml.mode

haml.mode

HAML syntax definition for Coda & SubEthaEdit ...