mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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.
This commit is contained in:
@@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user