diff options
author | Alan Pearce | 2019-08-28 15:39:49 +0200 |
---|---|---|
committer | Alan Pearce | 2019-08-28 15:39:49 +0200 |
commit | 77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb (patch) | |
tree | 53bec392a0407df1955e6ccbc1527274638d0558 | |
parent | 9cc876b29ad5efaad64adf0ec3fe1a2b8c43d687 (diff) | |
download | dotfiles-77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb.tar.lz dotfiles-77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb.tar.zst dotfiles-77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb.zip |
Emacs: use typescript parser for prettier_d
-rw-r--r-- | emacs/.emacs.d/main.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 428f3bd..2553a40 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 |