Mercurial > vim
diff src/optiondefs.h @ 25982:aade8ef975d5 v8.2.3524
patch 8.2.3524: GUI: ligatures are not used
Commit: https://github.com/vim/vim/commit/4eeedc09fed0cbbb3ba48317e0a01e20cd0b4f80
Author: Dusan Popovic <dpx@binaryapparatus.com>
Date: Sat Oct 16 20:52:05 2021 +0100
patch 8.2.3524: GUI: ligatures are not used
Problem: GUI: ligatures are not used.
Solution: Add the 'guiligatures' option. (Dusan Popovic, closes https://github.com/vim/vim/issues/8933)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Oct 2021 22:00:05 +0200 |
parents | 416237f1de22 |
children | ac330e2fecc4 |
line wrap: on
line diff
--- 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,