flymake-less.el

November 7, 2024 ยท View on GitHub

An Emacs flymake handler for syntax-checking LESS CSS code.

Note that you probably want to be using flycheck instead.

Installation

If you choose not to use one of the convenient packages in Melpa and Marmalade, you'll need to add the directory containing flymake-less.el to your load-path, and then (require 'flymake-less). You'll also need to install less-css-mode and flymake-easy.

Usage

Add the following to your emacs init file:

(require 'flymake-less)
(add-hook 'less-css-mode-hook 'flymake-less-load)

Beware that lessc can be quite slow, so there can be a significant lag between editing and the highlighting of resulting errors.


๐Ÿ’ Support this project and my other Open Source work via Patreon

๐Ÿ’ผ LinkedIn profile

โœ sanityinc.com