Skip to content

Commit 4b6bf40

Browse files
committed
add hover keymap
1 parent e205ea6 commit 4b6bf40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@ require('lazy').setup({
556556
-- the definition of its *type*, not where it was *defined*.
557557
map('grt', require('telescope.builtin').lsp_type_definitions, '[G]oto [T]ype Definition')
558558

559+
map('K', vim.lsp.buf.hover, 'Hover Documentation')
560+
559561
-- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
560562
---@param client vim.lsp.Client
561563
---@param method vim.lsp.protocol.Method

0 commit comments

Comments
 (0)