summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-07-30 12:57:22 +0200
committerAlan Pearce2019-07-30 12:57:22 +0200
commitb7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437 (patch)
treecfe6b62b5f015af62dc8c133d9dde4529737e81b /emacs
parentf3cb54923260b850cfc510d28c345d5c98937d8b (diff)
downloadnixfiles-b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437.tar.lz
nixfiles-b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437.tar.zst
nixfiles-b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437.zip
Emacs: ensure prettier_d respects configuration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 1121f180..1135b4a2 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -598,7 +598,8 @@ With two prefix arguments, write out the day and month name."
   :ghook ('(typescript-mode-hook) #'prettier-js-mode t)
   :config (progn
             (if-let ((prettier_d (executable-find "prettier_d")))
-                (setq prettier-js-command prettier_d)
+                (setq prettier-js-command prettier_d
+                      prettier-js-args '("--pkg-conf"))
               (message "prettier_d is not available"))))
 
 ;;; Take me to my leader