summaryrefslogtreecommitdiff
path: root/src/optiondefs.h
diff options
context:
space:
mode:
authorDusan Popovic <dpx@binaryapparatus.com>2021-10-16 20:52:05 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-16 20:52:05 +0100
commit4eeedc09fed0cbbb3ba48317e0a01e20cd0b4f80 (patch)
treecac81ddbe09eac705e72e2c3390749cc60a16ae0 /src/optiondefs.h
parentc89c91cafd91fbf17f431d800bbf4cafcffffe7a (diff)
downloadvim-git-4eeedc09fed0cbbb3ba48317e0a01e20cd0b4f80.tar.gz
patch 8.2.3524: GUI: ligatures are not usedv8.2.3524
Problem: GUI: ligatures are not used. Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r--src/optiondefs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h
index a7a3d0c90..042f05551 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -1208,6 +1208,19 @@ static struct vimoption options[] =
{(char_u *)NULL, (char_u *)0L}
#endif
SCTX_INIT},
+
+
+ {"guiligatures", "gli", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
+#if defined(FEAT_GUI_GTK)
+ (char_u *)&p_guiligatures, PV_NONE,
+ {(char_u *)"", (char_u *)0L}
+#else
+ (char_u *)NULL, PV_NONE,
+ {(char_u *)NULL, (char_u *)0L}
+#endif
+ SCTX_INIT},
+
+
{"guiheadroom", "ghr", P_NUM|P_VI_DEF,
#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)
(char_u *)&p_ghr, PV_NONE,