chore(logs): silent safe_keymap_set to debug (fixes ) ()

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham 2024-08-29 17:00:44 -04:00 committed by GitHub
parent 12adc67d0d
commit bd500feeec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -120,7 +120,7 @@ M.safe_keymap_set = function(mode, lhs, rhs, opts)
ok, H = pcall(require, "lazy.core.handler") ok, H = pcall(require, "lazy.core.handler")
if not ok then if not ok then
M.warn("lazy.nvim is not available. Avante will use vim.keymap.set", { once = true }) M.debug("lazy.nvim is not available. Avante will use vim.keymap.set", { once = true })
vim.keymap.set(mode, lhs, rhs, opts) vim.keymap.set(mode, lhs, rhs, opts)
return return
end end