summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-08-30 16:50:31 +0200
committerAlan Pearce2019-08-30 16:50:31 +0200
commit4fe704808738196d851bcf3a3eee6efe0b31f0d7 (patch)
tree7867269613e1257e5daed36a39cf09af8dd63df0 /emacs
parentd1605ba34ca569b64882a02e2948f16d4d94978e (diff)
downloadnixfiles-4fe704808738196d851bcf3a3eee6efe0b31f0d7.tar.lz
nixfiles-4fe704808738196d851bcf3a3eee6efe0b31f0d7.tar.zst
nixfiles-4fe704808738196d851bcf3a3eee6efe0b31f0d7.zip
Emacs: fix prettier_d config
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index f9d12003..f74e7464 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -669,7 +669,7 @@ With two prefix arguments, write out the day and month name."
   :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