add hover keymap
This commit is contained in:
parent
e205ea69b2
commit
4b6bf40b4c
2
init.lua
2
init.lua
|
@ -556,6 +556,8 @@ require('lazy').setup({
|
|||
-- the definition of its *type*, not where it was *defined*.
|
||||
map('grt', require('telescope.builtin').lsp_type_definitions, '[G]oto [T]ype Definition')
|
||||
|
||||
map('K', vim.lsp.buf.hover, 'Hover Documentation')
|
||||
|
||||
-- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
|
||||
---@param client vim.lsp.Client
|
||||
---@param method vim.lsp.protocol.Method
|
||||
|
|
Loading…
Reference in New Issue