Describe the bug
The recent telescope theme deprecation warning is shown continuously because the telescope theme object itself actually has a key called theme, so this wrongly reports that a user hasn't migrated despite having done so.
System information
OS: [windows/linux/mac] macOS
Neovim version: nightly
Is this related to a specific vim.ui.select backend? If so, which one? Telescope
Dressing config:
use {
'stevearc/dressing.nvim',
after = 'telescope.nvim',
config = function()
require('dressing').setup {
input = {
insert_only = false,
winblend = 2,
},
select = {
telescope = require('telescope.themes').get_cursor { -- <--- This function returns an object with a theme key
layout_config = {
height = function(self, _, max_lines)
local results = #self.finder.results
return (results <= max_lines and results or max_lines - 10) + 4 -- 4 is the size of the window
end,
},
},
},
}
end
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug The recent telescope theme deprecation warning is shown continuously because the telescope theme object itself actually has a key called theme, so this wrongly reports that a user hasn't migrated despite having done so.
System information
vim.ui.select
backend? If so, which one? TelescopeScreenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.