diff --git a/init.lua b/init.lua index f82b385b..e1c51b0c 100644 --- a/init.lua +++ b/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