Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
12adc67d0d
commit
bd500feeec
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user