From 40c6e7fc68994b19979a377f5b2a3c45f5c1b621 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 19 Jul 2019 15:29:37 +0200 Subject: Emacs: don't auto-enable prettier in JS files --- emacs/.emacs.d/main.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 1b35b83..e27da51 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -579,7 +579,7 @@ With two prefix arguments, write out the day and month name." ;;;; Reformat on save (use-package prettier-js - :ghook ('(typescript-mode-hook js2-mode-hook) #'prettier-js-mode t)) + :ghook ('(typescript-mode-hook) #'prettier-js-mode t)) ;;; Take me to my leader -- cgit 1.4.1