From 7a8aea6c771a9a16538477a2f5cc8a2000252223 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 24 Sep 2023 09:38:02 -0700 Subject: [PATCH] config: update some docs to clarify how to disable ligatures --- src/config/Config.zig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/config/Config.zig b/src/config/Config.zig index 5e79e0630..3e5836d8b 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -49,6 +49,14 @@ const c = @cImport({ /// /// A valid value is the name of a feature. Prefix the feature with a /// "-" to explicitly disable it. Example: "ss20" or "-ss20". +/// +/// To disable programming ligatures, use "-calt" since this is the typical +/// feature name for programming ligatures. To look into what font features +/// your font has and what they do, use a font inspection tool such as +/// fontdrop.info. +/// +/// To generally disable most ligatures, use "-calt", "-liga", and "-dlig" +/// (as separate repetitive entries in your config). @"font-feature": RepeatableString = .{}, /// Font size in points