[Emacs] Enable prettier-js for SCSS
This commit is contained in:
parent
dfecd1c5f9
commit
738404ac60
@ -7352,6 +7352,7 @@ Let’s customize a bit the built-in CSS mode.
|
|||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:hook (css-mode . smartparens-mode)
|
:hook (css-mode . smartparens-mode)
|
||||||
:hook (css-mode . lsp-deferred)
|
:hook (css-mode . lsp-deferred)
|
||||||
|
:hook (scss-mode . prettier-js-mode)
|
||||||
:init
|
:init
|
||||||
(put 'css-indent-offset 'safe-local-variable #'integerp)
|
(put 'css-indent-offset 'safe-local-variable #'integerp)
|
||||||
:general
|
:general
|
||||||
@ -7369,6 +7370,7 @@ mode for that.
|
|||||||
:straight (:build t)
|
:straight (:build t)
|
||||||
:hook (scss-mode . smartparens-mode)
|
:hook (scss-mode . smartparens-mode)
|
||||||
:hook (scss-mode . lsp-deferred)
|
:hook (scss-mode . lsp-deferred)
|
||||||
|
:hook (scss-mode . prettier-js-mode)
|
||||||
:defer t
|
:defer t
|
||||||
:mode "\\.scss\\'")
|
:mode "\\.scss\\'")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
Reference in New Issue
Block a user