Maybe apply prettier to json-mode buffers
This commit is contained in:
parent
243f1145f8
commit
393bfce935
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user