mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-29 03:00:32 +00:00
f6eaa8b00f
I saved the `file_types.json` file and got a diff because it had some trailing whitespace. I ran [`lineman`](https://github.com/JosephTLyons/lineman) on the codebase. I've done this before, but this time, I've added in the following settings to our `.zed` local settings, to make sure every future save respects our desire to have consistent whitespace formatting. ```json "remove_trailing_whitespace_on_save": true, "ensure_final_newline_on_save": true ``` Release Notes: - N/A
27 lines
513 B
JSON
27 lines
513 B
JSON
{
|
|
"languages": {
|
|
"Markdown": {
|
|
"tab_size": 2,
|
|
"formatter": "prettier"
|
|
},
|
|
"TOML": {
|
|
"formatter": "prettier",
|
|
"format_on_save": "off"
|
|
},
|
|
"YAML": {
|
|
"tab_size": 2,
|
|
"formatter": "prettier"
|
|
},
|
|
"JSON": {
|
|
"tab_size": 2,
|
|
"formatter": "prettier"
|
|
},
|
|
"JavaScript": {
|
|
"tab_size": 2,
|
|
"formatter": "prettier"
|
|
}
|
|
},
|
|
"formatter": "auto",
|
|
"remove_trailing_whitespace_on_save": true,
|
|
"ensure_final_newline_on_save": true
|
|
}
|