lazy load the vscode snippets

This commit is contained in:
Vladislav 2024-03-14 05:05:27 +01:00
parent f736a1c57f
commit 27f6f13769
No known key found for this signature in database
GPG Key ID: 07A1CCBD643CA257
1 changed files with 4 additions and 1 deletions

View File

@ -413,7 +413,7 @@ require('lazy').setup({
-- `neodev` configures Lua LSP for your Neovim config, runtime and plugins -- `neodev` configures Lua LSP for your Neovim config, runtime and plugins
-- used for completion, annotations and signatures of Neovim apis -- used for completion, annotations and signatures of Neovim apis
{ 'folke/neodev.nvim', opts = {} }, { 'folke/neodev.nvim', opts = {}, ft = 'lua' },
}, },
config = function() config = function()
-- Brief Aside: **What is LSP?** -- Brief Aside: **What is LSP?**
@ -656,6 +656,9 @@ require('lazy').setup({
end end
return 'make install_jsregexp' return 'make install_jsregexp'
end)(), end)(),
config = function()
require('luasnip.loaders.from_vscode').lazy_load()
end,
}, },
'saadparwaiz1/cmp_luasnip', 'saadparwaiz1/cmp_luasnip',