cleanup: remove warnings for using deprecated highlight groups
This commit is contained in:
parent
374b51da1a
commit
6741f1062d
|
@ -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 })
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue