From c195c4ddff9e9a1fe198794a76a404ca026008be Mon Sep 17 00:00:00 2001 From: oliverpool <3864879+oliverpool@users.noreply.github.com> Date: Thu, 11 Jul 2024 19:42:27 +0200 Subject: [PATCH] docs: Document `buffer_line_height` (#14168) `buffer_line_height` has been requested in #5590 and implemented in #2718, however the documentation was still lacking. Release Notes: - N/A --- docs/src/configuring-zed.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 4ae2c2715b04af210fa6813831f45abf940f461d..b0e037551699806298cc1420418a722c4e2f8f81 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -152,6 +152,16 @@ You can also set other OpenType features, like setting `cv01` to `7`: `integer` values between `100` and `900` +## Buffer Line Height + +- Description: The default line height for text in the editor. +- Setting: `buffer_line_height` +- Default: `"comfortable"` + +**Options** + +`"standard"`, `"comfortable"` or `{"custom": float}` (`1` is very compact, `2` very loose) + ## Confirm Quit - Description: Whether or not to prompt the user to confirm before closing the application.