Add 'prettier to error msg of spacemacs/typescript-format

This commit is contained in:
Matt Kramer 2018-09-08 20:53:06 -07:00 committed by Codruț Constantin Gușoi
parent 67165df30c
commit b4eeda6cb6

View file

@ -136,7 +136,7 @@
((eq typescript-fmt-tool 'prettier)
(call-interactively 'prettier-js))
(t (error (concat "%s isn't valid typescript-fmt-tool value."
" It should be 'tide or 'typescript-formatter."
" It should be 'tide, 'typescript-formatter or 'prettier."
(symbol-name typescript-fmt-tool))))))
(defun spacemacs/typescript-fmt-before-save-hook ()