cleanup: remove warnings for using deprecated highlight groups

This commit is contained in:
Steven Arcangeli 2024-06-18 20:54:07 -04:00
parent 374b51da1a
commit 6741f1062d
2 changed files with 0 additions and 12 deletions

View file

@ -405,12 +405,6 @@ local show_input = util.make_queued_async_fn(2, function(opts, on_confirm)
if not config.enabled then
return patch.original_mods.input(opts, on_confirm)
end
if vim.fn.hlID("DressingInputText") ~= 0 then
vim.notify(
'DressingInputText highlight group is deprecated. Set winhighlight="NormalFloat:MyHighlightGroup" instead',
vim.log.levels.WARN
)
end
local prompt = opts.prompt or config.default_prompt
local prompt_lines = vim.split(prompt, "\n", { plain = true, trimempty = true })

View file

@ -39,12 +39,6 @@ local function close_window()
end
M.select = function(config, items, opts, on_choice)
if vim.fn.hlID("DressingSelectText") ~= 0 then
vim.notify(
'DressingSelectText highlight group is deprecated. Set winhighlight="NormalFloat:MyHighlightGroup" instead',
vim.log.levels.WARN
)
end
_callback = on_choice
_items = items
local bufnr = vim.api.nvim_create_buf(false, true)