fix(health): add warning when not using 0.10.0

This commit is contained in:
Folke Lemaitre 2024-05-16 16:49:35 +02:00
parent 8dae76c1fd
commit 9fe8b15928

View file

@ -10,6 +10,9 @@ function M.check()
if vim.fn.has("nvim-0.9.0") == 1 then if vim.fn.has("nvim-0.9.0") == 1 then
ok("Using Neovim >= 0.9.0") ok("Using Neovim >= 0.9.0")
if vim.fn.has("nvim-0.10.0") == 0 then
warn("Use Neovim >= 0.10.0 for the best experience")
end
else else
error("Neovim >= 0.9.0 is required") error("Neovim >= 0.9.0 is required")
end end