Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Disable format on save for C and C++ (#10141)

Mikayla Maki3aa242e07668
diff --git a/assets/settings/default.json b/assets/settings/default.json
index 4a4cdf3018a..752bbf776bc 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -545,6 +545,12 @@
"file_types": {},
// Different settings for specific languages.
"languages": {
+ "C++": {
+ "format_on_save": "off"
+ },
+ "C": {
+ "format_on_save": "off"
+ },
"Plain Text": {
"soft_wrap": "preferred_line_length"
},