mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-04 07:29:32 +00:00
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
This commit is contained in:
parent
a295b90597
commit
2972bdc0e2
1 changed files with 11 additions and 2 deletions
|
@ -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.
|
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
|
```json
|
||||||
{
|
{
|
||||||
"buffer_font_features": {
|
"buffer_font_features": {
|
||||||
"calt": false,
|
|
||||||
"cv01": 7
|
"cv01": 7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue