[Emacs] Enable prettier-js for SCSS

This commit is contained in:
Lucien Cartier-Tilet 2022-10-19 15:06:57 +02:00
parent dfecd1c5f9
commit 738404ac60
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -7352,6 +7352,7 @@ Lets customize a bit the built-in CSS mode.
:straight (:type built-in)
:hook (css-mode . smartparens-mode)
:hook (css-mode . lsp-deferred)
:hook (scss-mode . prettier-js-mode)
:init
(put 'css-indent-offset 'safe-local-variable #'integerp)
:general
@ -7369,6 +7370,7 @@ mode for that.
:straight (:build t)
:hook (scss-mode . smartparens-mode)
:hook (scss-mode . lsp-deferred)
:hook (scss-mode . prettier-js-mode)
:defer t
:mode "\\.scss\\'")
#+end_src