Add 'prettier to error msg of spacemacs/typescript-format
This commit is contained in:
parent
67165df30c
commit
b4eeda6cb6
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue