Files
eleith 537221dd0c
ci/woodpecker/pr/ci Pipeline was successful
Require Neovim 0.12
The comment window reads 'winborder', which needs 0.11, and CI tests on
0.12. :checkhealth, the README and the help file now say 0.12.
2026-09-22 10:00:58 -07:00

23 lines
543 B
Lua

local M = {}
function M.check()
vim.health.start("scratch-comments")
if vim.fn.has("nvim-0.12") == 1 then
vim.health.ok("Neovim version is supported")
else
vim.health.warn("Neovim 0.12 or newer is required")
end
if vim.fn.has("clipboard") == 1 or vim.g.clipboard ~= nil then
vim.health.ok("Clipboard provider is available for :CommentExport")
else
vim.health.warn(
"No clipboard provider found. Install wl-clipboard, xclip or xsel, "
.. "or set vim.g.clipboard = 'osc52'"
)
end
end
return M