We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14cff19 commit 412594cCopy full SHA for 412594c
lua/noice/util/hacks.lua
@@ -255,7 +255,7 @@ function M.fix_cmp()
255
end
256
257
function M.cmdline_force_redraw()
258
- if vim.api.nvim_get_mode().mode == "c" and vim.fn.getcmdline():find("s/") then
+ if vim.fn.pumvisible() == 0 and vim.api.nvim_get_mode().mode == "c" and vim.fn.getcmdline():find("s/") then
259
-- HACK: this will trigger redraw during substitue
260
vim.api.nvim_input("<space><bs>")
261
0 commit comments