move friendly snippets to dependencies of LuaSnip, as suggested by the docs
This commit is contained in:
parent
b529bc3359
commit
afe68813af
13
init.lua
13
init.lua
|
@ -632,6 +632,13 @@ require('lazy').setup({
|
||||||
end
|
end
|
||||||
return 'make install_jsregexp'
|
return 'make install_jsregexp'
|
||||||
end)(),
|
end)(),
|
||||||
|
dependencies = {
|
||||||
|
-- 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',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'saadparwaiz1/cmp_luasnip',
|
'saadparwaiz1/cmp_luasnip',
|
||||||
|
|
||||||
|
@ -640,12 +647,6 @@ require('lazy').setup({
|
||||||
-- into multiple repos for maintenance purposes.
|
-- into multiple repos for maintenance purposes.
|
||||||
'hrsh7th/cmp-nvim-lsp',
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
'hrsh7th/cmp-path',
|
'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()
|
config = function()
|
||||||
-- See `:help cmp`
|
-- See `:help cmp`
|
||||||
|
|
Loading…
Reference in New Issue