return { 'luasnip', lazy = true, before = function() require('lz.n').trigger_load({ 'friendly-snippets', }) end, after = function() require('luasnip').setup({ history = true, delete_check_events = 'TextChanged', }) -- friendly-snippets require('luasnip.loaders.from_vscode').lazy_load() -- Personal snippets require('luasnip.loaders.from_lua').load({ path = 'lua/snippets' }) end, }