We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a62db88 commit 3a2579eCopy full SHA for 3a2579e
1 file changed
lua/telescope/pickers.lua
@@ -605,10 +605,6 @@ function Picker:find()
605
606
await_schedule()
607
608
- -- we need to set the prefix color after changing mode since
609
- -- https://github.com/neovim/neovim/commit/cbf9199d65325c1167d7eeb02a34c85d243e781c
610
- self:_reset_prefix_color()
611
-
612
while true do
613
-- Wait for the next input
614
rx.last()
@@ -621,6 +617,10 @@ function Picker:find()
621
617
return
622
618
end
623
619
620
+ -- we kinda always wanna reset the color, because of `cc` and `dd` commands,
+ -- which also delete the prefix and after prefix deletion we need to reapply highlighting
+ self:_reset_prefix_color()
+
624
local start_time = vim.loop.hrtime()
625
626
local prompt = self:_get_next_filtered_prompt()
0 commit comments