summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-08-28 15:39:49 +0200
committerAlan Pearce2019-08-28 15:39:49 +0200
commit77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb (patch)
tree53bec392a0407df1955e6ccbc1527274638d0558
parent9cc876b29ad5efaad64adf0ec3fe1a2b8c43d687 (diff)
downloadnixfiles-77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb.tar.lz
nixfiles-77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb.tar.zst
nixfiles-77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb.zip
Emacs: use typescript parser for prettier_d
-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 428f3bd6..2553a40c 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"))
+                      prettier-js-args '("--pkg-conf" "--parser typescript"))
               (message "prettier_d is not available"))))
 
 ;;; E-mail