all repos — nixfiles @ 40c6e7fc68994b19979a377f5b2a3c45f5c1b621

System and user configuration, managed by nix and home-manager

Emacs: don't auto-enable prettier in JS files
Alan Pearce alan@alanpearce.eu
Fri, 19 Jul 2019 15:29:37 +0200
commit

40c6e7fc68994b19979a377f5b2a3c45f5c1b621

parent

806222d15ac74218e466fc7571129ed1a56b33ce

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -579,7 +579,7 @@ ;;;; 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