fix: move needless warning into "verbose"

This commit is contained in:
swaits committed 2024-12-23 19:36:35 -07:00
1 parent b2e1997b56
commit 3995d8009d
1 file changed
+3 -1
+3 -1
View File
@@ -83,10 +83,12 @@ local function configure_clipboard(opts)
return "wl-copy/xclip/xsel"
else
-- No tool found
if opts.verbose then
vim.notify(
"[universal-clipboard.nvim] No suitable clipboard tool found (wl-copy, xclip, xsel).",
"[universal-clipboard.nvim] No external clipboard tool found (wl-copy, xclip, xsel).",
vim.log.levels.WARN
)
end
return "system"
end
end