all repos — archive/dotfiles @ 4fe704808738196d851bcf3a3eee6efe0b31f0d7

Superseded by nixfiles

Emacs: fix prettier_d config
Alan Pearce alan@alanpearce.eu
Fri, 30 Aug 2019 16:50:31 +0200
commit

4fe704808738196d851bcf3a3eee6efe0b31f0d7

parent

d1605ba34ca569b64882a02e2948f16d4d94978e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -669,7 +669,7 @@ :ghook ('(typescript-mode-hook) #'prettier-js-mode t)   :config (progn
             (if-let ((prettier_d (executable-find "prettier_d")))
                 (setq prettier-js-command prettier_d
-                      prettier-js-args '("--pkg-conf" "--parser typescript"))
+                      prettier-js-args '("--pkg-conf" "--parser" "typescript"))
               (message "prettier_d is not available"))))
 
 ;;; E-mail