Add elm-format-on-save-mode to elm-mode-hook
Instead of calling this manually.
This commit is contained in:
parent
fbd5e7fb18
commit
02ce74eada
1 changed files with 3 additions and 1 deletions
|
@ -91,7 +91,9 @@
|
||||||
(general-add-hook wpc-javascript--frontend-hooks #'prettier-js-mode))
|
(general-add-hook wpc-javascript--frontend-hooks #'prettier-js-mode))
|
||||||
|
|
||||||
;; Support Elm
|
;; Support Elm
|
||||||
(use-package elm-mode)
|
(use-package elm-mode
|
||||||
|
:config
|
||||||
|
(add-hook 'elm-mode-hook #'elm-format-on-save-mode))
|
||||||
|
|
||||||
(provide 'wpc-javascript)
|
(provide 'wpc-javascript)
|
||||||
;;; wpc-javascript.el ends here
|
;;; wpc-javascript.el ends here
|
||||||
|
|
Loading…
Reference in a new issue