Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prefix color highlighting on nvim 0.9 #2403

Merged
merged 1 commit into from
Feb 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: prefix color highlighting on nvim 0.9
  • Loading branch information
Conni2461 committed Feb 26, 2023
commit d2a0cf9313a152a79a838961f48fb6d961f1bba6
4 changes: 4 additions & 0 deletions lua/telescope/pickers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down