@@ -142,7 +142,7 @@ local eval = function(v, ...)
142142 return v
143143end
144144
145- --- @param opts table<string , unknown> | fun (): table ?
145+ --- @param opts fzf-lua.config.Base |{} |fun (): table ?
146146--- @param globals string | table ?
147147--- @param __resume_key string ?
148148--- @return fzf-lua.Config ?
@@ -272,10 +272,7 @@ function M.normalize_opts(opts, globals, __resume_key)
272272 -- Backward compat: merge `winopts` with outputs from `winopts_fn`
273273 local winopts_fn = opts .winopts_fn or M .globals .winopts_fn
274274 if type (winopts_fn ) == " function" then
275- if not opts .silent then
276- utils .warn (
277- " Deprecated option: 'winopts_fn' -> 'winopts'. Add 'silent=true' to hide this message." )
278- end
275+ vim .deprecate (" winopts_fn" , " winopts" , " Jan 2026" , " FzfLua" )
279276 local ret = winopts_fn (opts ) or {}
280277 if not utils .tbl_isempty (ret ) and (not opts .winopts or type (opts .winopts ) == " table" ) then
281278 opts .winopts = vim .tbl_deep_extend (" force" , opts .winopts or {}, ret )
@@ -445,11 +442,7 @@ function M.normalize_opts(opts, globals, __resume_key)
445442 utils .map_set (opts , new_key , old_val )
446443 end
447444 utils .map_set (opts , old_key , nil )
448- if not opts .silent then
449- utils .warn (string.format (
450- " Deprecated option: '%s' -> '%s'. Add 'silent=true' to hide this message." ,
451- old_key , new_key ))
452- end
445+ vim .deprecate (old_key , new_key , " Jan 2026" , " FzfLua" )
453446 end
454447 end
455448
0 commit comments