Add signature help

This commit is contained in:
Alex Yatskov 2022-12-06 20:21:40 -08:00
parent 55b3382808
commit c769b3b1df
3 changed files with 5 additions and 0 deletions

3
.gitmodules vendored
View File

@ -94,3 +94,6 @@
[submodule "pack/plugins/start/neodev.nvim"] [submodule "pack/plugins/start/neodev.nvim"]
path = pack/plugins/start/neodev.nvim path = pack/plugins/start/neodev.nvim
url = https://github.com/folke/neodev.nvim.git url = https://github.com/folke/neodev.nvim.git
[submodule "pack/plugins/start/cmp-nvim-lsp-signature-help"]
path = pack/plugins/start/cmp-nvim-lsp-signature-help
url = https://github.com/hrsh7th/cmp-nvim-lsp-signature-help.git

View File

@ -66,6 +66,7 @@ nvim_cmp.setup({
sources = { sources = {
{name = 'nvim_lsp'}, {name = 'nvim_lsp'},
{name = 'vsnip'}, {name = 'vsnip'},
{name = "nvim_lsp_signature_help"},
}, },
snippet = { snippet = {
expand = function(args) vim.fn['vsnip#anonymous'](args.body) end, expand = function(args) vim.fn['vsnip#anonymous'](args.body) end,

@ -0,0 +1 @@
Subproject commit d2768cb1b83de649d57d967085fe73c5e01f8fd7