️ perf(cmp): improve cmp loading performance

Make better use of lazy-loading for nvim-cmp
This commit is contained in:
2024-08-17 01:18:24 -04:00
parent c1bc5457b4
commit 03d6b5ba7f
+2 -1
View File
@@ -4,7 +4,7 @@
return {
{
"hrsh7th/nvim-cmp",
event = "InsertEnter",
event = "VeryLazy",
dependencies = {
{
"L3MON4D3/LuaSnip",
@@ -55,6 +55,7 @@ return {
"davidsierradz/cmp-conventionalcommits",
"Dynge/gitmoji.nvim",
},
-- :
config = function()
local cmp = require("cmp")
local luasnip = require("luasnip")