Cliffzz / stylus-mode

Stylus support for Emacs, based on pug-mode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stylus-mode

stylus-mode offers Emacs support for Stylus. It is based on pug-mode and jade-mode.

Disclaimer: This package works, and I use it. However, I'm not the most qualified person to write an emacs mode, so this is basically a hacked together combination of pug-mode and jade-mode. Pull requests are welcome.

Installation

stylus-mode isn't available on MELPA yet.

In the meantime, download stylus-mode.el and insert the following into your emacs.d:

(require 'stylus-mode)

For Spacemacs:

dotspacemacs-additional-packages '(
  (stylus-mode :location (recipe :fetcher github :repo "vladh/stylus-mode"))
)

Why not use jade-mode?

For pretty much the same reason that pug-mode was created to be used over jade-mode, mainly jade-mode's malfunctioning indentation and confusing source.

About

Stylus support for Emacs, based on pug-mode.


Languages

Language:Emacs Lisp 100.0%