Add some lazy loading setup

This commit is contained in:
Evie Litherland-Smith 2023-02-17 10:27:08 +00:00
parent 0d22adf661
commit 9a30d3caaa

View file

@ -1,5 +1,5 @@
local M = {
"folke/lazy.nvim",
{ "folke/lazy.nvim", cmd = "Lazy" },
{
"catppuccin/nvim",
name = "catppuccin",
@ -25,7 +25,6 @@ local M = {
vim.notify = require("notify")
end,
},
"nvim-lua/plenary.nvim",
{
"neovim/nvim-lspconfig",
dependencies = {
@ -69,6 +68,7 @@ local M = {
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
},
cmd = "Neotree",
config = function()
require("config.neotree")
end,
@ -83,6 +83,7 @@ local M = {
build = "make",
},
},
cmd = "Telescope",
config = function()
require("config.telescope")
end,
@ -90,6 +91,7 @@ local M = {
{
"folke/trouble.nvim",
dependencies = "nvim-tree/nvim-web-devicons",
cmd = "TroubleToggle",
config = function()
require("config.trouble")
end,
@ -112,6 +114,12 @@ local M = {
require("config.nvim-test")
end,
},
{ "numToStr/Comment.nvim", name = "Comment" },
{
"numToStr/Comment.nvim",
name = "Comment",
config = function()
require("Comment")
end,
},
}
return M