Bug Fixes
- Improved error handling when formatting buffers with
prettier
. Previouslyprettier
errors would be logged but ignored. Nowprettier
errors are shown in the UI, just like language server errors when formatting. And if no formatter is specified (or set to"auto"
) and Zed attempts to useprettier
for formatting, thenprettier
errors are no longer skipped. That fixes the issue ofprettier
not formatting invalid syntax, but its error being skipped, leading totypescript-language-server
or another language server formatting invalid syntax.