Skip to content

Commit 29c7dc0

Browse files
authored
Merge pull request nvim-lua#296 from SamPosh/patch-3
2 parents c899977 + 569439a commit 29c7dc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ require('lazy').setup({
9494
{
9595
-- Autocompletion
9696
'hrsh7th/nvim-cmp',
97-
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' },
97+
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip',"rafamadriz/friendly-snippets", },
9898
},
9999

100100
-- Useful plugin to show you pending keybinds.
@@ -458,7 +458,7 @@ mason_lspconfig.setup_handlers {
458458
-- nvim-cmp setup
459459
local cmp = require 'cmp'
460460
local luasnip = require 'luasnip'
461-
461+
require("luasnip.loaders.from_vscode").lazy_load()
462462
luasnip.config.setup {}
463463

464464
cmp.setup {

0 commit comments

Comments
 (0)