summaryrefslogtreecommitdiff
path: root/lua/telescope
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2023-02-26 13:26:12 +0100
committerGitHub <noreply@github.com>2023-02-26 13:26:12 +0100
commita3f17d3baf70df58b9d3544ea30abe52a7a832c2 (patch)
tree7d06aa6a5b785a2022b76b42b54d542e4216e23e /lua/telescope
parenta486ac3e8fb2198f3636da1927ed57a28836fbd8 (diff)
fix: prefix color highlighting on nvim 0.9 (#2403)
Diffstat (limited to 'lua/telescope')
-rw-r--r--lua/telescope/pickers.lua4
1 files changed, 4 insertions, 0 deletions
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()