diff options
author | Alan Pearce | 2019-07-30 12:57:22 +0200 |
---|---|---|
committer | Alan Pearce | 2019-07-30 12:57:22 +0200 |
commit | b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437 (patch) | |
tree | cfe6b62b5f015af62dc8c133d9dde4529737e81b | |
parent | f3cb54923260b850cfc510d28c345d5c98937d8b (diff) | |
download | dotfiles-b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437.tar.lz dotfiles-b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437.tar.zst dotfiles-b7c34e2d75a4709bf6bf9d0c0f2d4fc8b908a437.zip |
Emacs: ensure prettier_d respects configuration
-rw-r--r-- | emacs/.emacs.d/main.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 |