Emacs: use typescript parser for prettier_d
Alan Pearce alan@alanpearce.eu
Wed, 28 Aug 2019 15:39:49 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.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")) + prettier-js-args '("--pkg-conf" "--parser typescript")) (message "prettier_d is not available")))) ;;; E-mail