Syntax highlighting for Slim
Emacs Lisp
Latest commit 869c848 Jun 12, 2014 @bbatsov bbatsov Merge pull request #15 from waymondo/master
Fix electric-pair support for 24.4+

README.md

Synopsis

slim-mode provides Emacs support for editing Slim templates. It's based on haml-mode.

Screenshot

Installation

All users are encouraged to install slim-mode via package.el.

Manual

Just drop slim-mode.el somewhere in your load-path. I favour the folder ~/.emacs.d/vendor:

(add-to-list 'load-path "~/emacs.d/vendor")
(require 'slim-mode)

Marmalade

If you're an Emacs 24 user or you have a recent version of package.el you can install slim-mode from the Marmalade repository.

MELPA

If you're an Emacs 24 user or you have a recent version of package.el you can install slim-mode from the MELPA repository.

Emacs Prelude

slim-mode is part of the Emacs Prelude. If you're a Prelude user - slim-mode is already properly configured and ready for action.

Usage

Just start editing slim files. :-)

Caveats

The mode is a work in progress and not everything is implemented yet. Be patient and send bug reports when you notice that something is wrong/missing/not perfect.

Known issues

Check out the project's issue list a list of unresolved issues. By the way - feel free to fix any of them and sent us a pull request. :-)

Contributors

Here's a list of all the people who have contributed to the development of slim-mode.

Bugs & Improvements

Bug reports and suggestions for improvements are always welcome. GitHub pull requests are even better! :-)

Cheers,
The slim-mode Team