home: vim: lua: lsp: add signature help mapping

This commit is contained in:
Bruno BELANYI 2022-04-25 14:31:20 +02:00
parent 7df77a7e0c
commit 799890ca37

View file

@ -54,6 +54,7 @@ M.on_attach = function(client, bufnr)
local keys = { local keys = {
K = { vim.lsp.buf.hover, "Show symbol information" }, K = { vim.lsp.buf.hover, "Show symbol information" },
["<C-k>"] = { vim.lsp.buf.signature_help, "Show signature information" },
["gd"] = { vim.lsp.buf.definition, "Go to definition" }, ["gd"] = { vim.lsp.buf.definition, "Go to definition" },
["gD"] = { vim.lsp.buf.declaration, "Go to declaration" }, ["gD"] = { vim.lsp.buf.declaration, "Go to declaration" },
["gi"] = { vim.lsp.buf.implementation, "Go to implementation" }, ["gi"] = { vim.lsp.buf.implementation, "Go to implementation" },