From f1295fe76f49584c38d3d617b355578d9925fc85 Mon Sep 17 00:00:00 2001 From: luukvbaal Date: Sun, 4 May 2025 13:39:07 +0200 Subject: fix(extui): hide inactive "more" window (#33831) Problem: More-window is left visible after leaving it. Cursor may be hidden behind it and it is hard to re-enter afterwards. Solution: Close the more-window when another window is entered. --- runtime/lua/vim/_extui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim/_extui.lua') diff --git a/runtime/lua/vim/_extui.lua b/runtime/lua/vim/_extui.lua index 63e6be4763..3c758ea595 100644 --- a/runtime/lua/vim/_extui.lua +++ b/runtime/lua/vim/_extui.lua @@ -69,7 +69,7 @@ function M.enable(opts) -- Use MsgArea and hide search highlighting in the cmdline window. -- TODO: Add new highlight group/namespaces for other windows? It is - -- clear MsgArea would be wanted in the box, more and prompt windows. + -- not clear if MsgArea is wanted in the box, more and prompt windows. api.nvim_set_hl(ext.ns, 'Normal', { link = 'MsgArea' }) api.nvim_set_hl(ext.ns, 'Search', { link = 'MsgArea' }) api.nvim_set_hl(ext.ns, 'CurSearch', { link = 'MsgArea' }) -- cgit