diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index ce5a316f..96cc2a0a 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -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