diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index a422c9f..3bb773b 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -451,8 +451,6 @@ function Picker:find() vim.api.nvim_buf_attach(prompt_bufnr, false, { on_lines = on_lines, on_detach = vim.schedule_wrap(function() - self:_reset_highlights() - on_lines = nil -- TODO: Can we add a "cleanup" / "teardown" function that completely removes these.