chore(secrets): support table of string (#500)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-09-03 21:47:01 -04:00
committed by GitHub
parent b46eec2a84
commit d7d476ddf5
7 changed files with 83 additions and 116 deletions

View File

@@ -317,7 +317,7 @@ end
---@param msg string|string[]
---@param opts? LazyNotifyOpts
function M.warn(msg, opts)
if require("avante.config").options.silent_warning then return end
if require("avante.config").silent_warning then return end
opts = opts or {}
opts.level = vim.log.levels.WARN