summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2020-08-17 13:02:37 +0200
committerAlan Pearce2020-08-24 10:03:16 +0200
commit455e717f354f5db05580d0b090f7daeaee55bd2c (patch)
tree143871f85c533c902ffbfb24d681c918b49df50f /user/emacs
parent9a85ecdb0cb1055ddbdf79bdb88912ef75f651ab (diff)
downloadnixfiles-455e717f354f5db05580d0b090f7daeaee55bd2c.tar.lz
nixfiles-455e717f354f5db05580d0b090f7daeaee55bd2c.tar.zst
nixfiles-455e717f354f5db05580d0b090f7daeaee55bd2c.zip
Remove prettier_d
Poor installation method, slows down installs for a small increase in performance.
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 8bfb5bfc..a3dd37e1 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -929,11 +929,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package prettier-js
   :ghook ('(javascript-mode-hook typescript-mode-hook) #'prettier-js-mode t)
   :config (progn
-            (setq prettier-js-show-errors 'echo)
-            (if-let ((prettier_d (executable-find "prettier_d")))
-                (setq prettier-js-command prettier_d
-                      prettier-js-args '("--pkg-conf" "--parser" "typescript"))
-              (message "prettier_d is not available"))))
+            (setq prettier-js-show-errors 'echo)))
 
 ;;; E-mail