Add signature help's completion

Displays a popup detailing a function's parameters while a call to it is
being written
This commit is contained in:
Steins7 2023-04-21 11:16:48 +02:00
parent aeaf5800ef
commit b1ceb62e46

View File

@ -93,6 +93,7 @@ local function manage_plugins()
["https://github.com/hrsh7th/cmp-buffer.git"] = {},
["https://github.com/hrsh7th/cmp-path.git"] = {},
["https://github.com/hrsh7th/cmp-cmdline.git"] = {},
["https://github.com/hrsh7th/cmp-nvim-lsp-signature-help.git"] = {},
["https://github.com/hrsh7th/cmp-vsnip.git"] = {},
["https://github.com/hrsh7th/vim-vsnip.git"] = {},
["https://github.com/hrsh7th/nvim-cmp.git"] = {
@ -101,6 +102,7 @@ local function manage_plugins()
["https://github.com/hrsh7th/cmp-buffer.git"] = true,
["https://github.com/hrsh7th/cmp-path.git"] = true,
["https://github.com/hrsh7th/cmp-cmdline.git"] = true,
["https://github.com/hrsh7th/cmp-nvim-lsp-signature-help.git"] = true,
["https://github.com/hrsh7th/cmp-vsnip.git"] = true,
["https://github.com/hrsh7th/vim-vsnip.git"] = true,
},
@ -149,6 +151,7 @@ local function manage_plugins()
}),
sources = cmp.config.sources({
{ name = 'nvim_lsp' },
{ name = 'nvim_lsp_signature_help' },
{ name = 'vsnip' },
}, {
{ name = 'buffer' },