feat: added aerial extra with integrations for edgy, telescope and lualine

This commit is contained in:
Folke Lemaitre 2023-10-12 00:11:33 +02:00
parent 7b2c317407
commit b43c57d943
2 changed files with 142 additions and 0 deletions

View file

@ -27,6 +27,15 @@ function M.setup()
M.lazy_file()
end
function M.extra_idx(name)
local Config = require("lazy.core.config")
for i, extra in ipairs(Config.spec.modules) do
if extra == "lazyvim.plugins.extras." .. name then
return i
end
end
end
-- Properly load file based plugins without blocking the UI
function M.lazy_file()
M.use_lazy_file = M.use_lazy_file and vim.fn.argc(-1) > 0