mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 02:46:43 +00:00
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:
parent
fcadd3e1ff
commit
8e65ec1022
1 changed files with 4 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue