1
0
Fork 0

nvim: vompletion: fix luasnip deps

This commit is contained in:
tastytea 2022-08-12 17:28:52 +02:00
parent be6a13ea5b
commit 83c71c27ca
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,12 @@ require('my/plugins')
packer.use {
'https://github.com/hrsh7th/nvim-cmp',
requires = 'https://github.com/L3MON4D3/LuaSnip',
requires = {
{
'https://github.com/saadparwaiz1/cmp_luasnip',
requires = 'https://github.com/L3MON4D3/LuaSnip'
},
},
config = function()
local cmp = require'cmp'
if cmp == nil then
@ -103,4 +108,3 @@ packer.use {
-- 'https://github.com/hrsh7th/cmp-nvim-lua',
-- requires = 'https://github.com/hrsh7th/nvim-cmp',
-- }

View File

@ -5,7 +5,6 @@ require('my/completion')
packer.use {
'https://github.com/neovim/nvim-lspconfig',
requires = {
'https://github.com/L3MON4D3/LuaSnip',
'https://github.com/hrsh7th/cmp-nvim-lsp'
},
config = function()