fix: cleanup all Neovim < 0.9.0 code

This commit is contained in:
Folke Lemaitre
2023-10-01 14:17:54 +02:00
parent b8ffa5261a
commit 9935dc3944
4 changed files with 6 additions and 13 deletions

View File

@ -8,10 +8,10 @@ local error = vim.health.error or vim.health.report_error
function M.check()
start("LazyVim")
if vim.fn.has("nvim-0.8.0") == 1 then
ok("Using Neovim >= 0.8.0")
if vim.fn.has("nvim-0.9.0") == 1 then
ok("Using Neovim >= 0.9.0")
else
error("Neovim >= 0.8.0 is required")
error("Neovim >= 0.9.0 is required")
end
for _, cmd in ipairs({ "git", "rg", { "fd", "fdfind" }, "lazygit" }) do