An Emacs flymake handler for syntax-checking LESS CSS code.
Note that you probably want to be using flycheck instead.
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.
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