forked from aniani/vim
patch 9.1.0139: MS-Windows: ligatures map cleared on startup
Problem: MS-Windows: ligatures map cleared on startup Solution: Don't clear the ligatures_map, if the guiligatures option has already been set (Erik S. V. Jansson) If guiligatures is set from a .vimrc it's possible that it will be cleared on start-up (e.g. in Win32 that's what happens). So don't clear the ligatures map if gui_set_ligatures() has already been called (e.g. after setting 'ligatures' from .vimrc) closes: #14094 Signed-off-by: Erik S. V. Jansson <caffeineviking@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
02d7a6c6cf
commit
2f02638aa8
@@ -4530,7 +4530,7 @@ did_set_string_option(
|
||||
|| varp == &p_guifontset // 'guifontset'
|
||||
# endif
|
||||
|| varp == &p_guifontwide // 'guifontwide'
|
||||
# ifdef FEAT_GUI_GTK
|
||||
# if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN)
|
||||
|| varp == &p_guiligatures // 'guiligatures'
|
||||
# endif
|
||||
)
|
||||
|
Reference in New Issue
Block a user