chore(nvim): Make Snippet completion faster

This commit is contained in:
Pratik Tripathy
2024-12-15 21:56:41 +05:30
parent d5a1c499bf
commit c6f9dd6a87

View File

@@ -10,7 +10,7 @@ return {
dependencies = { dependencies = {
-- Snippet Engine & its associated nvim-cmp source -- Snippet Engine & its associated nvim-cmp source
{ {
'L3MON4D3/LuaSnip', "L3MON4D3/LuaSnip",
build = (function() build = (function()
-- Build Step is needed for regex support in snippets. -- Build Step is needed for regex support in snippets.
-- This step is not supported in many windows environments. -- This step is not supported in many windows environments.
@@ -25,9 +25,9 @@ return {
-- See the README about individual language/framework/plugin snippets: -- See the README about individual language/framework/plugin snippets:
-- https://github.com/rafamadriz/friendly-snippets -- https://github.com/rafamadriz/friendly-snippets
{ {
'rafamadriz/friendly-snippets', "rafamadriz/friendly-snippets",
config = function() config = function()
require('luasnip.loaders.from_vscode').lazy_load() require('luasnip.loaders.from_vscode')
end, end,
}, },
}, },