diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2025-05-04 13:39:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 13:39:07 +0200 |
| commit | f1295fe76f49584c38d3d617b355578d9925fc85 (patch) | |
| tree | 1d1faa12aef004c680a4da2438d325a913e15e43 /runtime/lua/vim/_extui.lua | |
| parent | 627c648252e151266928bea501349af5eb24e134 (diff) | |
| download | rneovim-f1295fe76f49584c38d3d617b355578d9925fc85.tar.gz rneovim-f1295fe76f49584c38d3d617b355578d9925fc85.tar.bz2 rneovim-f1295fe76f49584c38d3d617b355578d9925fc85.zip | |
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.
Diffstat (limited to 'runtime/lua/vim/_extui.lua')
| -rw-r--r-- | runtime/lua/vim/_extui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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' }) |