mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 07:15:34 +00:00
fix(extui): search highlighting in extui "more" pager #33792
Problem: No search highlighting in extui "more" pager window. Solution: Only use custom highlight namespace in cmdline window.
This commit is contained in:
@@ -67,6 +67,9 @@ function M.enable(opts)
|
||||
end
|
||||
end)
|
||||
|
||||
-- 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.
|
||||
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