From a3f17d3baf70df58b9d3544ea30abe52a7a832c2 Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Sun, 26 Feb 2023 13:26:12 +0100 Subject: [PATCH] fix: prefix color highlighting on nvim 0.9 (#2403) --- lua/telescope/pickers.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index 658b3d6..d700d33 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -456,6 +456,10 @@ function Picker:find() await_schedule() + -- we need to set the prefix color after changing mode since + -- https://github.com/neovim/neovim/commit/cbf9199d65325c1167d7eeb02a34c85d243e781c + self:_reset_prefix_color() + while true do -- Wait for the next input rx.last()