fix: move needless warning into "verbose"
This commit is contained in:
1 file changed
+6
-4
@@ -83,10 +83,12 @@ local function configure_clipboard(opts)
|
|||||||
return "wl-copy/xclip/xsel"
|
return "wl-copy/xclip/xsel"
|
||||||
else
|
else
|
||||||
-- No tool found
|
-- No tool found
|
||||||
vim.notify(
|
if opts.verbose then
|
||||||
"[universal-clipboard.nvim] No suitable clipboard tool found (wl-copy, xclip, xsel).",
|
vim.notify(
|
||||||
vim.log.levels.WARN
|
"[universal-clipboard.nvim] No external clipboard tool found (wl-copy, xclip, xsel).",
|
||||||
)
|
vim.log.levels.WARN
|
||||||
|
)
|
||||||
|
end
|
||||||
return "system"
|
return "system"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user