chore(mapping): add support for toggling suggestion (#546)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-09-06 01:09:02 -04:00
committed by GitHub
parent 33c9ac216d
commit 7015dde5bf
7 changed files with 73 additions and 63 deletions

View File

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