New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autodetect parser name with prettier by default #11558
Conversation
6406bc5
to
160bb1d
Compare
cef20fd
to
8dfa2f9
Compare
ed22c92
to
7dbffe9
Compare
7dbffe9
to
b611a32
Compare
b611a32
to
d70de6b
Compare
Removed language configs from current repo's plugins: vue, svelte, typescript, javascript, php, markdown, css, json, tsx, yaml, html, astro. |
@SomeoneToIgnore We might want to leave the field in the So newer versions of Zed will just ignore that field, and after some time has passed then we can remove them. |
Closes zed-industries#11517 * Removes forced prettier parser name for languages, making `auto` command to run prettier on every file by default. * Moves prettier configs away from plugin language declarations into language settings Release Notes: - N/A
…no path (#12273) Follow-up of #12095 (comment) reverting back part of #11558 that was related to `language.toml` parsing. Now all extensions that define `prettier_parser_name` in their language configs, will enable formatting untitled buffers without any extra language settings like ```json { "languages": { "JSON": { "prettier": { "allowed": true, "parser": "json" } } } } ``` Release Notes: - Improved ergonomics of untitled buffer formatting with prettier, no extra language settings are needed by default.
Closes #11517
auto
command to run prettier on every file by default.Release Notes: