/haml-mode

Emacs mode for Haml.

Primary LanguageEmacs LispMIT LicenseMIT

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 is built into Flycheck. For flymake, see flymake-haml.

Installation

Via ELPA (recommended)

You can install haml-mode from the MELPA.

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)

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