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.
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"))
)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.