summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-24 17:46:13 +0200
committerAlan Pearce2019-09-24 17:46:13 +0200
commit4251ec53ff880094f0057e93993bc3354ecf91a7 (patch)
tree78864e2038de731bec555ddb360f3cf81f14e778
parentf77ea1c5c1781442a3cffdc6c39d8696eda07e38 (diff)
downloadnixfiles-4251ec53ff880094f0057e93993bc3354ecf91a7.tar.lz
nixfiles-4251ec53ff880094f0057e93993bc3354ecf91a7.tar.zst
nixfiles-4251ec53ff880094f0057e93993bc3354ecf91a7.zip
Emacs: show prettier errors in echo area
-rw-r--r--emacs/.emacs.d/main.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 45a51c76..160dc071 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -741,6 +741,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 ;;;; Reformat on save
 
 (use-package prettier-js
+  :custom ((prettier-js-show-errors 'echo))
   :ghook ('(typescript-mode-hook) #'prettier-js-mode t)
   :config (progn
             (if-let ((prettier_d (executable-find "prettier_d")))