diff options
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-javascript.el')
-rw-r--r-- | emacs/.emacs.d/wpc/wpc-javascript.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-javascript.el b/emacs/.emacs.d/wpc/wpc-javascript.el index fca8ed6b46a8..da84df66d409 100644 --- a/emacs/.emacs.d/wpc/wpc-javascript.el +++ b/emacs/.emacs.d/wpc/wpc-javascript.el @@ -91,7 +91,9 @@ (general-add-hook wpc-javascript--frontend-hooks #'prettier-js-mode)) ;; Support Elm -(use-package elm-mode) +(use-package elm-mode + :config + (add-hook 'elm-mode-hook #'elm-format-on-save-mode)) (provide 'wpc-javascript) ;;; wpc-javascript.el ends here |