Github GitHub - nex3/haml-mode: Emacs mode for Haml.
source link: https://github.com/nex3/haml-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK