From 0320fa6c7f5ff1f0661c1df9e3030d9250cd3d1c Mon Sep 17 00:00:00 2001 From: RestorerZ Date: Wed, 2 Jul 2025 21:50:39 +0300 Subject: [PATCH] condition gui_win32 for 'guiligatures' Signed-off-by: RestorerZ --- runtime/optwin.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 5e7d87ac20..91974570ec 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: The Vim Project -" Last Change: 2025 Jun 16 +" Last Change: 2025 Jul 02 " Former Maintainer: Bram Moolenaar " If there already is an option window, jump to that one. @@ -684,6 +684,8 @@ if has("gui") endif call AddOption("guiheadroom", gettext("room (in pixels) left above/below the window")) call append("$", " \tset ghr=" . &ghr) + endif + if has("gui_gtk") || has("gui_win32") call AddOption("guiligatures", gettext("list of ASCII characters that can be combined into complex shapes")) call OptionG("gli", &gli) endif