Made more plugins lazy load

This commit is contained in:
2023-09-03 20:17:08 +02:00
parent 93d665867b
commit 307ff3cc83
4 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
return {
"numToStr/Comment.nvim",
event = "BufEnter, BufNew",
config = function()
local comment = require("Comment")
comment.setup({

View File

@@ -1,6 +1,7 @@
return {
"glepnir/dashboard-nvim",
event = "VimEnter",
cmd = "Dashboard",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
local db = require("dashboard")

View File

@@ -9,6 +9,7 @@ return {
"rafamadriz/friendly-snippets",
"onsails/lspkind.nvim",
},
event = "InsertEnter",
config = function()
local cmp = require("cmp")
local luasnip = require("luasnip")

View File

@@ -1,5 +1,6 @@
return {
"TakenMC/presence.nvim",
event = "BufEnter, BufNew",
config = function()
local presence = require("presence")