plugins: improve LuaSnip configuration

Co-Authored-by: iGor milhit <igor@milhit.ch>
main
iGor milhit 2024-02-27 12:32:53 +01:00
parent e4b1d5b473
commit 2959893e49
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 7 additions and 1 deletions

View File

@ -62,7 +62,13 @@ require('lazy').setup({
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
dependencies = { dependencies = {
-- Snippet Engine & its associated nvim-cmp source -- Snippet Engine & its associated nvim-cmp source
{
'L3MON4D3/LuaSnip', 'L3MON4D3/LuaSnip',
-- follow latest release
version = "v2.*",
-- install jsregexp (optional)
build = "make install_jsregexp"
},
'saadparwaiz1/cmp_luasnip', 'saadparwaiz1/cmp_luasnip',
-- Adds LSP completion capabilities -- Adds LSP completion capabilities