[Emacs] Hook prettier-js into more modes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2022-12-07 16:08:05 +01:00
parent baf6d0fc26
commit 5f5c845dc4
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -7618,9 +7618,11 @@ Typescript is a safer alternative to Javascript. Lets install its major mode
:defer t
:straight (:build t)
:hook (typescript-mode . rainbow-delimiters-mode)
:hook (typescript-mode . lsp-deferred)
:hook (typescript-tsx-mode . rainbow-delimiters-mode)
:hook (typescript-mode . lsp-deferred)
:hook (typescript-tsx-mode . lsp-deferred)
:hook (typescript-mode . prettier-js-mode)
:hook (typescript-tsx-mode . prettier-js-mode)
:commands typescript-tsx-mode
:after flycheck
:init