diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2021-03-09 22:44:45 -0500 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2021-03-09 22:44:45 -0500 |
| commit | add7ee394350f268684cff03d844f32f255fec47 (patch) | |
| tree | 0a88c9fec4ea339a5b1e86f2cd0b5baeaf0cec90 /lua/telescope/pickers.lua | |
| parent | a7d359948b805f4046e67a2d6f44eab3b9f3bfa4 (diff) | |
nit: Don't reset highlights on detach
Diffstat (limited to 'lua/telescope/pickers.lua')
| -rw-r--r-- | lua/telescope/pickers.lua | 2 |
1 files changed, 0 insertions, 2 deletions
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. |
