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

@@ -13,7 +13,7 @@ end
local Clipboard = require("avante.clipboard")
local Config = require("avante.config")
if Config.support_paste_image(true) then
if Config.support_paste_image() then
vim.paste = (function(overriden)
---@param lines string[]
---@param phase -1|1|2|3