Emacs: ensure prettier_d respects configuration
Alan Pearce alan@alanpearce.eu
Tue, 30 Jul 2019 12:57:22 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -598,7 +598,8 @@ (use-package prettier-js :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