Skip to content

Commit

Permalink
Move friendly snippets to dependencies of LuaSnip (nvim-lua#759)
Browse files Browse the repository at this point in the history
Co-authored-by: TJ DeVries <[email protected]>
  • Loading branch information
VlaDexa and tjdevries authored Mar 15, 2024
1 parent 452e3a7 commit 2f494e5
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,17 @@ require('lazy').setup({
end
return 'make install_jsregexp'
end)(),
dependencies = {
-- `friendly-snippets` contains a variety of premade snippets.
-- See the README about individual language/framework/plugin snippets:
-- https://github.com/rafamadriz/friendly-snippets
-- {
-- 'rafamadriz/friendly-snippets',
-- config = function()
-- require('luasnip.loaders.from_vscode').lazy_load()
-- end,
-- },
},
},
'saadparwaiz1/cmp_luasnip',

Expand All @@ -643,12 +654,6 @@ require('lazy').setup({
-- into multiple repos for maintenance purposes.
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-path',

-- If you want to add a bunch of pre-configured snippets,
-- you can use this plugin to help you. It even has snippets
-- for various frameworks/libraries/etc. but you will have to
-- set up the ones that are useful for you.
-- 'rafamadriz/friendly-snippets',
},
config = function()
-- See `:help cmp`
Expand Down

0 comments on commit 2f494e5

Please sign in to comment.