chore: add gh keybind for hover
This commit is contained in:
parent
0e68cb68f5
commit
5455fef6af
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ function KEYBINDS:set_lsp_keys(opts)
|
||||||
vim.keymap.set('n', 'gy', vim.lsp.buf.type_definition, opts)
|
vim.keymap.set('n', 'gy', vim.lsp.buf.type_definition, opts)
|
||||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, opts)
|
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, opts)
|
||||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
|
vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
|
||||||
|
vim.keymap.set('n', 'gh', vim.lsp.buf.hover, opts)
|
||||||
vim.keymap.set('n', '<C-Space>', vim.lsp.buf.hover, opts)
|
vim.keymap.set('n', '<C-Space>', vim.lsp.buf.hover, opts)
|
||||||
vim.keymap.set('n', '<C-x>', vim.lsp.buf.hover, opts)
|
vim.keymap.set('n', '<C-x>', vim.lsp.buf.hover, opts)
|
||||||
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, opts)
|
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, opts)
|
||||||
|
|
Loading…
Reference in a new issue