Lazy load snippets

This shaves 300ms of startup time
This commit is contained in:
ViViDboarder 2023-06-13 17:12:45 -07:00
parent 963cc8bb6a
commit ad47f57d68

View File

@ -399,7 +399,7 @@ use({
requires = "L3MON4D3/LuaSnip", requires = "L3MON4D3/LuaSnip",
after = "LuaSnip", after = "LuaSnip",
config = function() config = function()
require("luasnip.loaders.from_vscode").load() require("luasnip.loaders.from_vscode").lazy_load()
end, end,
}) })