Update .config/nvim/lua/plugins/lsp.lua

This commit is contained in:
Anthony Rodriguez 2024-08-14 04:35:08 +02:00
parent 4954013534
commit 78658ee2b0

View file

@ -31,7 +31,7 @@ return {
"hrsh7th/cmp-cmdline", "hrsh7th/cmp-cmdline",
"L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
"saadparwaiz1/cmp_luasnip", "saadparwaiz1/cmp_luasnip",
"rafamadriz/friendly-snippets", "honza/vim-snippets",
"hrsh7th/cmp-nvim-lsp-signature-help", "hrsh7th/cmp-nvim-lsp-signature-help",
}, },
opts = function(_, opts) opts = function(_, opts)
@ -43,7 +43,8 @@ return {
nil nil
end end
require("luasnip.loaders.from_vscode").lazy_load() require("luasnip.loaders.from_snipmate").lazy_load()
-- Setup cmp with options -- Setup cmp with options
opts.snippet = { opts.snippet = {
expand = function(args) expand = function(args)