mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 15:44:31 +03:00
acea6f9c0f
This PR formats the CSS in the docs with Prettier. The indentation of these CSS files kept changing based on who last touched them, so I added settings to the Zed repo to try and keep the formatting intact until we can enforce it in CI. Release Notes: - N/A
45 lines
852 B
JSON
45 lines
852 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,
|
|
"preferred_line_length": 100,
|
|
"formatter": "prettier"
|
|
},
|
|
"JSONC": {
|
|
"tab_size": 2,
|
|
"preferred_line_length": 100,
|
|
"formatter": "prettier"
|
|
},
|
|
"JavaScript": {
|
|
"tab_size": 2,
|
|
"formatter": "prettier"
|
|
},
|
|
"CSS": {
|
|
"tab_size": 2,
|
|
"formatter": "prettier"
|
|
},
|
|
"Rust": {
|
|
"tasks": {
|
|
"variables": {
|
|
"RUST_DEFAULT_PACKAGE_RUN": "zed"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"formatter": "auto",
|
|
"remove_trailing_whitespace_on_save": true,
|
|
"ensure_final_newline_on_save": true
|
|
}
|