From 2972bdc0e26f7acf7bdf0d3edb974006ba22dc5b Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 28 Jun 2024 09:24:15 -0400 Subject: [PATCH] docs: Make it clearer how to disable ligatures with `buffer_font_features` (#13645) This PR updates the docs around disabling font ligatures to make it clearer which OpenType features need to be changed. Release Notes: - N/A --- docs/src/configuring-zed.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 413d0489ff..a3b42ee313 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -112,12 +112,21 @@ The name of any font family installed on the user's system Zed supports all OpenType features that can be enabled or disabled for a given buffer or terminal font, as well as setting values for font features. -For example, to disable ligatures and set `cv01` to `7` for a given font you can add the following to your settings: +For example, to disable font ligatures, add the following to your settings: + +```json +{ + "buffer_font_features": { + "calt": false + } +} +``` + +You can also set other OpenType features, like setting `cv01` to `7`: ```json { "buffer_font_features": { - "calt": false, "cv01": 7 } }