From efa6d85855f2416b7d1c580a346a2639db5bba9e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 24 Sep 2023 09:15:32 -0700 Subject: [PATCH] config: update docs --- src/config/Config.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/Config.zig b/src/config/Config.zig index 1f2c3e82e..5e79e0630 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -32,6 +32,9 @@ const c = @cImport({ /// The named font style to use for each of the requested terminal font /// styles. This looks up the style based on the font style string advertised /// by the font itself. For example, "Iosevka Heavy" has a style of "Heavy". +/// +/// These are only valid if there is an exact font-family also specified. +/// If no font-family is specified, then the font-style is ignored. @"font-style": ?[:0]const u8 = null, @"font-style-bold": ?[:0]const u8 = null, @"font-style-italic": ?[:0]const u8 = null,