Maybe apply prettier to json-mode buffers

This commit is contained in:
Adam Goldsmith 2021-12-01 14:59:54 -05:00
parent 243f1145f8
commit 393bfce935

View File

@ -1013,7 +1013,7 @@
(set-face-background 'which-key-posframe "#333333")))
(use-package prettier-js
:hook ((js2-mode typescript-mode web-mode) . prettier-js-mode-maybe)
:hook ((js2-mode typescript-mode web-mode json-mode) . prettier-js-mode-maybe)
:commands prettier-js
:init
(defun prettier-js-mode-maybe ()