feat(ui): added :LazyExtras to manage enabled extras in LazyVim

This commit is contained in:
Folke Lemaitre
2023-10-11 17:48:40 +02:00
parent 11d66e7134
commit c4e55e4d67
6 changed files with 218 additions and 74 deletions

View File

@ -106,12 +106,6 @@ function M.detect(opts)
return ret
end
function M.setup()
vim.api.nvim_create_user_command("LazyRoot", function()
M.info()
end, { desc = "LazyVim roots for the current buffer" })
end
function M.info()
local spec = type(vim.g.root_spec) == "table" and vim.g.root_spec or M.spec