feat: hover keymap

This commit is contained in:
Anup Sebastian 2025-10-30 08:29:43 -05:00
parent c10b738230
commit 358a789baa
1 changed files with 5 additions and 1 deletions

View File

@ -582,6 +582,10 @@ require('lazy').setup({
-- Most Language Servers support renaming across files, etc.
map('grn', vim.lsp.buf.rename, '[R]e[n]ame')
-- Show hover information (errors, documentation, type info)
-- This is like hovering in VS Code - shows error messages, docs, etc.
map('K', vim.lsp.buf.hover, 'Hover Documentation')
-- Execute a code action, usually your cursor needs to be on top of an error
-- or a suggestion from your LSP for this to activate.
map('gra', vim.lsp.buf.code_action, '[G]oto Code [A]ction', { 'n', 'x' })
@ -879,7 +883,7 @@ require('lazy').setup({
-- <c-k>: Toggle signature help
--
-- See :h blink-cmp-config-keymap for defining your own keymap
preset = 'default',
preset = 'enter',
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps