[neovim] Reinstall LuaSnip plugin

This commit is contained in:
Daniel Carrillo 2022-10-08 18:51:36 +02:00
parent e946d6a14b
commit 33790440f2
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
2 changed files with 1 additions and 4 deletions

View File

@ -46,7 +46,7 @@ local kind_icons = {
cmp.setup({
snippet = {
expand = function(args)
luasnip.lsp_expand(args.body) -- For `luasnip` users.
luasnip.lsp_expand(args.body)
end,
},
@ -98,7 +98,6 @@ cmp.setup({
vim_item.kind = kind_icons[vim_item.kind]
vim_item.menu = ({
nvim_lsp = "",
nvim_lua = "",
luasnip = "",
buffer = "",
path = "",
@ -109,7 +108,6 @@ cmp.setup({
},
sources = {
{ name = "nvim_lsp" },
{ name = "nvim_lua" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },

View File

@ -73,7 +73,6 @@ return packer.startup(function(use)
use({ "hrsh7th/cmp-path", commit = "91ff86cd9c29299a64f968ebb45846c485725f23" })
use({ "saadparwaiz1/cmp_luasnip", commit = "a9de941bcbda508d0a45d28ae366bb3f08db2e36" })
use({ "hrsh7th/cmp-nvim-lsp", commit = "affe808a5c56b71630f17aa7c38e15c59fd648a8" })
use({ "hrsh7th/cmp-nvim-lua", commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21" })
-- snippets
use({ "L3MON4D3/LuaSnip", tag = "v1.*" })