Autoload prettier-js
to allow formatting buffers before loading the mode
This commit is contained in:
parent
946a6c74a4
commit
98f05814c2
@ -955,6 +955,7 @@
|
||||
|
||||
(use-package prettier-js
|
||||
:hook ((js2-mode typescript-mode web-mode) . prettier-js-mode-maybe)
|
||||
:commands prettier-js
|
||||
:init
|
||||
(defun prettier-js-mode-maybe ()
|
||||
(interactive)
|
||||
|
Loading…
Reference in New Issue
Block a user