Revert "fix: prefix color highlighting reset only on nvim 9.0 (#2492)" (#2510)

This reverts commit 41731e2f74.
This commit is contained in:
Simon Hauser
2023-05-14 22:21:10 +02:00
committed by GitHub
parent 0900f6fcaa
commit f48a7178ed

View File

@@ -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