summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-07-19 15:29:37 +0200
committerAlan Pearce2019-07-19 15:29:37 +0200
commit40c6e7fc68994b19979a377f5b2a3c45f5c1b621 (patch)
treec163ee27463e5b56c74c8a1fc92a7c6c79f38370 /emacs
parent806222d15ac74218e466fc7571129ed1a56b33ce (diff)
downloadnixfiles-40c6e7fc68994b19979a377f5b2a3c45f5c1b621.tar.lz
nixfiles-40c6e7fc68994b19979a377f5b2a3c45f5c1b621.tar.zst
nixfiles-40c6e7fc68994b19979a377f5b2a3c45f5c1b621.zip
Emacs: don't auto-enable prettier in JS files
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 1b35b832..e27da514 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