Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.43 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.43 KB

MELPA Status MELPA Stable Status Build Status

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