An open API service indexing awesome lists of open source software.

https://github.com/purcell/skewer-less

Live LESS stylesheet updates from Emacs via skewer-mode
https://github.com/purcell/skewer-less

Last synced: 23 days ago
JSON representation

Live LESS stylesheet updates from Emacs via skewer-mode

Awesome Lists containing this project

README

        

[![Melpa Status](http://melpa.org/packages/skewer-less-badge.svg)](http://melpa.org/#/skewer-less)
[![Melpa Stable Status](http://stable.melpa.org/packages/skewer-less-badge.svg)](http://stable.melpa.org/#/skewer-less)
Support me

skewer-less.el
==============

Emacs minor mode allowing [LESS](http://lesscss.org) stylesheet
manipulation via [skewer-mode](https://github.com/skeeto/skewer-mode).

Note that this is intended for use in place of `skewer-css-mode`,
which does not work with `LESS`.

The LESS styles in the current buffer will be passed through `lessc`
and then to `skewer-css`. For this to work properly, the `lessc`
command should be present on `exec-path`.

Installation
=============

If you choose not to use one of the convenient packages in
[MELPA][melpa], you'll need to add the directory containing
`skewer-less.el` to your `load-path`, and then `(require
'skewer-less)`.

Usage
=====

Enable `skewer-less` in an individual buffer like this:

```elisp
(skewer-less-mode)
```

Alternatively, add `'skewer-less-mode` to your `less-css-mode-hook`:

```elisp
(add-hook 'less-css-mode-hook 'skewer-less-mode)
```

Save the buffer to trigger an update, or hit C-c C-k just
like in `skewer-css-mode`.

[melpa]: http://melpa.org


[💝 Support this project and my other Open Source work via Patreon](https://www.patreon.com/sanityinc)

[💼 LinkedIn profile](https://uk.linkedin.com/in/stevepurcell)

[✍ sanityinc.com](http://www.sanityinc.com/)