mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-28 19:50:09 +02:00
fix(health): add warning when not using 0.10.0
This commit is contained in:
parent
8dae76c1fd
commit
9fe8b15928
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue