[LSP] Add bind for sig help
This commit is contained in:
@@ -47,6 +47,9 @@ M.on_attach = function(client, bufnr)
|
|||||||
opts.desc = "Show documentation for what is under cursor"
|
opts.desc = "Show documentation for what is under cursor"
|
||||||
keymap.set("n", "<leader>k", vim.lsp.buf.hover, opts)
|
keymap.set("n", "<leader>k", vim.lsp.buf.hover, opts)
|
||||||
|
|
||||||
|
opts.desc = "Show signature help"
|
||||||
|
keymap.set("n", "<leader>v", vim.lsp.buf.signature_help, opts)
|
||||||
|
|
||||||
opts.desc = "Restart LSP"
|
opts.desc = "Restart LSP"
|
||||||
keymap.set("n", "<leader>rs", ":LspRestart<CR>", opts)
|
keymap.set("n", "<leader>rs", ":LspRestart<CR>", opts)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user