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
- Host: GitHub
- URL: https://github.com/purcell/skewer-less
- Owner: purcell
- Created: 2013-10-15T13:10:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T07:28:09.000Z (6 months ago)
- Last Synced: 2025-04-11T05:52:34.151Z (23 days ago)
- Language: Emacs Lisp
- Homepage:
- Size: 5.86 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://melpa.org/#/skewer-less)
[](http://stable.melpa.org/#/skewer-less)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/)