From b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 30 Jul 2019 12:57:22 +0200 Subject: Emacs: ensure prettier_d respects configuration --- emacs/.emacs.d/main.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 1121f18..1135b4a 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 -- cgit 1.4.1