From 77983c2ec7fb3dfa0328eb62fe098dfc5a289ceb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 28 Aug 2019 15:39:49 +0200 Subject: Emacs: use typescript parser for prettier_d --- emacs/.emacs.d/main.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') 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 -- cgit 1.4.1