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

@ -134,8 +134,16 @@ function M.setup(opts)
M.load("autocmds")
end
M.load("keymaps")
Util.format.setup()
Util.root.setup()
vim.api.nvim_create_user_command("LazyRoot", function()
Util.root.info()
end, { desc = "LazyVim roots for the current buffer" })
vim.api.nvim_create_user_command("LazyExtras", function()
Util.extras.show()
end, { desc = "Manage LazyVim extras" })
end,
})