fix(img-clip): supress verbose on AvanteInput (#410)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
97e691861c
commit
c4f7b9ba82
@ -8,6 +8,8 @@ if Config.support_paste_image(true) then
|
||||
---@param lines string[]
|
||||
---@param phase -1|1|2|3
|
||||
return function(lines, phase)
|
||||
require("img-clip.util").verbose = false
|
||||
|
||||
local bufnr = vim.api.nvim_get_current_buf()
|
||||
local filetype = vim.api.nvim_get_option_value("filetype", { buf = bufnr })
|
||||
if filetype ~= "AvanteInput" then
|
||||
|
Loading…
x
Reference in New Issue
Block a user