FIX: lsp_signature_help() mapping (#2698)

* fix: change lsp_signature_help() mapping

* imp: change mapping
This commit is contained in:
Gabriels 2024-03-01 03:04:31 +02:00 committed by GitHub
parent db95e7e1fd
commit 960509e585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ M.on_attach = function(client, bufnr)
map("n", "gd", vim.lsp.buf.definition, opts "Lsp Go to definition") map("n", "gd", vim.lsp.buf.definition, opts "Lsp Go to definition")
map("n", "K", vim.lsp.buf.hover, opts "Lsp hover information") map("n", "K", vim.lsp.buf.hover, opts "Lsp hover information")
map("n", "gi", vim.lsp.buf.implementation, opts "Lsp Go to implementation") map("n", "gi", vim.lsp.buf.implementation, opts "Lsp Go to implementation")
map("n", "<C-k>", vim.lsp.buf.signature_help, opts "Lsp Show signature help") map("n", "<leader>sh", vim.lsp.buf.signature_help, opts "Lsp Show signature help")
map("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, opts "Lsp Add workspace folder") map("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, opts "Lsp Add workspace folder")
map("n", "<leader>wr", vim.lsp.buf.remove_workspace_folder, opts "Lsp Remove workspace folder") map("n", "<leader>wr", vim.lsp.buf.remove_workspace_folder, opts "Lsp Remove workspace folder")