Made more plugins lazy load
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
|
event = "BufEnter, BufNew",
|
||||||
config = function()
|
config = function()
|
||||||
local comment = require("Comment")
|
local comment = require("Comment")
|
||||||
comment.setup({
|
comment.setup({
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
"glepnir/dashboard-nvim",
|
"glepnir/dashboard-nvim",
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
|
cmd = "Dashboard",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
config = function()
|
config = function()
|
||||||
local db = require("dashboard")
|
local db = require("dashboard")
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ return {
|
|||||||
"rafamadriz/friendly-snippets",
|
"rafamadriz/friendly-snippets",
|
||||||
"onsails/lspkind.nvim",
|
"onsails/lspkind.nvim",
|
||||||
},
|
},
|
||||||
|
event = "InsertEnter",
|
||||||
config = function()
|
config = function()
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
local luasnip = require("luasnip")
|
local luasnip = require("luasnip")
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
"TakenMC/presence.nvim",
|
"TakenMC/presence.nvim",
|
||||||
|
event = "BufEnter, BufNew",
|
||||||
config = function()
|
config = function()
|
||||||
local presence = require("presence")
|
local presence = require("presence")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user