From f48a7178edf74f99c908e04c21f5e714d0b77ecd Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Sun, 14 May 2023 22:21:10 +0200 Subject: [PATCH] Revert "fix: prefix color highlighting reset only on nvim 9.0 (#2492)" (#2510) This reverts commit 41731e2f748136e469c9a0092ad367d055a98b21. --- lua/telescope/pickers.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index f4e9a66..874789f 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -458,9 +458,7 @@ function Picker:find() -- we need to set the prefix color after changing mode since -- https://github.com/neovim/neovim/commit/cbf9199d65325c1167d7eeb02a34c85d243e781c - if vim.fn.has "nvim-9.0" == 1 then - self:_reset_prefix_color() - end + self:_reset_prefix_color() while true do -- Wait for the next input