[Emacs] Add support for Less css
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2022-11-02 16:24:44 +01:00
parent cac91b95a7
commit da8ee0d20a
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -7403,6 +7403,18 @@ And lets add some autocompletion for CSS.
"gh" #'counsel-css)))
#+end_src
For some reason, although it is built-in, ~less-css-mode~ does not
activate when I open ~.less~ files by default. Lets fix that.
#+begin_src emacs-lisp
(use-package less-css-mode
:straight (:type built-in)
:defer t
:mode "\\.less\\'"
:hook (less-css-mode . smartparens-mode)
:hook (less-css-mode . lsp-deferred)
:hook (less-css-mode . prettier-js-mode))
#+end_src
***** Javascript
:PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Programming-languages-General-Programming-Languages-Web-programming-Javascript-8k5arup085j0