fix(extras): better reasons as to why some extras are included in your config.

This commit is contained in:
Folke Lemaitre
2024-06-14 11:13:56 +02:00
parent 6efbdabd1b
commit eeccbbc407
4 changed files with 45 additions and 5 deletions

View File

@ -20,8 +20,9 @@ local v = version.major .. "_" .. version.minor
local compat = { "0_9" }
LazyVim.plugin.save_core()
if vim.tbl_contains(compat, v) then
extras[#extras + 1] = "lazyvim.plugins.compat.nvim-" .. v
table.insert(extras, 1, "lazyvim.plugins.compat.nvim-" .. v)
end
table.sort(extras, function(a, b)