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 739409cd4b
commit 38b530d33d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
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,
})