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