mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 07:09:23 +02:00
feat: lock nvim <0.7 to a specific tag (#2491)
This commit is contained in:
parent
1ae89bee93
commit
3d841425ae
3 changed files with 34 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
local M = {}
|
||||
|
||||
if vim.fn.has "nvim-0.6.1" ~= 1 then
|
||||
vim.notify("Please upgrade your Neovim base installation. Lunarvim requires v0.6.1+", vim.log.levels.WARN)
|
||||
if vim.fn.has "nvim-0.7" ~= 1 then
|
||||
vim.notify("Please upgrade your Neovim base installation. Lunarvim requires v0.7+", vim.log.levels.WARN)
|
||||
vim.wait(5000, function()
|
||||
return false
|
||||
end)
|
||||
|
@ -115,8 +115,10 @@ end
|
|||
---pulls the latest changes from github and, resets the startup cache
|
||||
function M:update()
|
||||
require_clean("lvim.utils.hooks").run_pre_update()
|
||||
require_clean("lvim.utils.git").update_base_lvim()
|
||||
require_clean("lvim.utils.hooks").run_post_update()
|
||||
local ret = require_clean("lvim.utils.git").update_base_lvim()
|
||||
if ret then
|
||||
require_clean("lvim.utils.hooks").run_post_update()
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue