added friendly snippet dependencies

This commit is contained in:
SamPosh 2023-05-02 13:47:09 +05:30 committed by GitHub
parent 6824ba1c3f
commit 6281bdf107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -97,7 +97,18 @@ require('lazy').setup({
{ -- Autocompletion { -- Autocompletion
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' }, dependencies = {
'hrsh7th/cmp-nvim-lsp',
'L3MON4D3/LuaSnip',
dependencies = {
{
"rafamadriz/friendly-snippets",
config = function()
require("luasnip.loaders.from_vscode").lazy_load()
end,
},
'saadparwaiz1/cmp_luasnip'
},
}, },
-- Useful plugin to show you pending keybinds. -- Useful plugin to show you pending keybinds.