Disable Prettier for C projects by default (#23119)

Follow-up of https://github.com/zed-industries/zed/pull/23112

Same reasoning applies.

Release Notes:

- Changed default formatter for C to be the primary language server, not
Prettier. Format-on-save is still disabled by default for C, but if one
uses the editor: format command now, it will default to the language
server. clangd can format C files, whereas prettier cannot.
This commit is contained in:
Kirill Bulatov 2025-01-14 13:47:22 +02:00 committed by GitHub
parent fcadd3e1ff
commit 8e65ec1022
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -974,7 +974,10 @@
},
"C": {
"format_on_save": "off",
"use_on_type_format": false
"use_on_type_format": false,
"prettier": {
"allowed": false
}
},
"C++": {
"format_on_save": "off",