Fix hlsearch
Fix https://github.com/hrsh7th/cmp-cmdline/issues/29#issuecomment-1008821502
This commit is contained in:
@@ -197,6 +197,9 @@ misc.redraw = setmetatable({
|
||||
else
|
||||
vim.cmd([[redraw]])
|
||||
end
|
||||
if vim.tbl_contains({ '/', '?' }, vim.fn.getcmdtype()) then
|
||||
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes('<C-r>=""<CR>', true, true, true), 'n', true)
|
||||
end
|
||||
self.doing = false
|
||||
self.force = false
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user