diff --git a/lua/kickstart/plugins/lspconfig.lua b/lua/kickstart/plugins/lspconfig.lua index de84c51..de3d856 100644 --- a/lua/kickstart/plugins/lspconfig.lua +++ b/lua/kickstart/plugins/lspconfig.lua @@ -107,6 +107,8 @@ return { -- Opens a popup that displays documentation about the word under your cursor -- See `:help K` for why this keymap. map('K', vim.lsp.buf.hover, 'Hover Documentation') + -- Similar as above, shows hover documentation for current function + vim.keymap.set('i', '', vim.lsp.buf.signature_help, { buffer = event.buf, desc = 'LSP: ' .. 'Hover Signature Information' }) -- WARN: This is not Goto Definition, this is Goto Declaration. -- For example, in C this would take you to the header.