]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0139: MS-Windows: ligatures map cleared on startup v9.1.0139
authorErik S. V. Jansson <caffeineviking@gmail.com>
Mon, 26 Feb 2024 21:23:05 +0000 (22:23 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 26 Feb 2024 21:23:05 +0000 (22:23 +0100)
commit2f02638aa8f737786551c92e78ce13def3d098b2
tree37a0517c55ebc4cdfa9145ad5cb502b8e254b875
parent02d7a6c6cfceb3faf9c98fcb7c458760cd50d269
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>
src/gui.c
src/optionstr.c
src/version.c