Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update docs for some settings (#27293)
Junseong Park07727f939e3e
diff --git a/crates/extension_host/src/extension_settings.rs b/crates/extension_host/src/extension_settings.rsindex 86e6caa5be4..36896240194 100644--- a/crates/extension_host/src/extension_settings.rs+++ b/crates/extension_host/src/extension_settings.rs@@ -12,6 +12,8 @@ pub struct ExtensionSettings {////// This is used to make functionality provided by extensions (e.g., language support)/// available out-of-the-box.+ ///+ /// Default: { "html": true }#[serde(default)]pub auto_install_extensions: HashMap<Arc<str>, bool>,#[serde(default)]diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex 5d4f3863f34..23f28263589 100644--- a/docs/src/configuring-zed.md+++ b/docs/src/configuring-zed.md@@ -31,7 +31,19 @@ Extensions that provide language servers may also provide default settings for t## Active Pane Modifiers-Styling settings applied to the active pane.+- Description: Styling settings applied to the active pane.+- Setting: `active_pane_modifiers`+- Default:++```json+{+ "active_pane_modifiers": {+ "magnification": 1.0,+ "border_size": 0.0,+ "inactive_opacity": 1.0+ }+}+```### Magnification@@ -39,12 +51,20 @@ Styling settings applied to the active pane.- Setting: `magnification`- Default: `1.0`+**Options**++`float` values+### Border size- Description: Size of the border surrounding the active pane. When set to 0, the active pane doesn't have any border. The border is drawn inset.- Setting: `border_size`- Default: `0.0`+**Options**++Non-negative `float` values+### Inactive Opacity- Description: Opacity of inactive panels. When set to 1.0, the inactive panes have the same opacity as the active one. If set to 0, the inactive panes content will not be visible at all. Values are clamped to the [0.0, 1.0] range.@@ -59,7 +79,7 @@ Styling settings applied to the active pane.- Description: Define extensions to be autoinstalled or never be installed.- Setting: `auto_install_extension`-- Default: `{"html": true}`+- Default: `{ "html": true }`**Options**@@ -327,7 +347,7 @@ For example, to use `Nerd Font` as a fallback, add the following to your setting**Options**-`"standard"`, `"comfortable"` or `{"custom": float}` (`1` is very compact, `2` very loose)+`"standard"`, `"comfortable"` or `{ "custom": float }` (`1` is compact, `2` is loose)## Confirm Quit