Add LSP signatures autocomplete

This commit is contained in:
Vaclav Uruba 2025-06-16 05:00:17 -06:00
parent 9c5606d62b
commit d9c0bcef7b
Signed by: uruba
GPG Key ID: 9D8E987C4B2E1E9C

View File

@ -2,6 +2,7 @@ return {
"hrsh7th/nvim-cmp",
event = "InsertEnter",
dependencies = {
"hrsh7th/cmp-nvim-lsp-signature-help", -- source for LSP signatures
"hrsh7th/cmp-buffer", -- source for text in buffer
"hrsh7th/cmp-path", -- source for file system paths
{
@ -44,6 +45,7 @@ return {
-- sources for autocompletion
sources = cmp.config.sources({
{ name = "nvim_lsp" },
{ name = "nvim_lsp_signature_help" }, -- LSP signatures
{ name = "luasnip" }, -- snippets
{ name = "buffer" }, -- text within current buffer
{ name = "path" }, -- file system paths