Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Make it clearer how to disable ligatures with `buffer_font_features` (#13645)
Marshall Bowers2972bdc0e26f
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex 413d0489ff5..a3b42ee3137 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 systemZed 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}}