diff options
| author | Kyren223 <contact@kyren.codes> | 2026-06-22 03:01:56 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-06-22 03:01:56 +0300 |
| commit | 44d2cf3b022429e630bab49f60e2b574edfebdba (patch) | |
| tree | 1cf6b30690110ff88d79d58845fff9aa8cd6c362 /.config/nvim/lua/keymaps.lua | |
| parent | 8b0a17b68d3dbd69caf469c611d7caf82edb71c9 (diff) | |
LSP hover is kinda in a state that is fine, so gonna live it at that
Diffstat (limited to '.config/nvim/lua/keymaps.lua')
| -rw-r--r-- | .config/nvim/lua/keymaps.lua | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua index 258b89e..98d9b6f 100644 --- a/.config/nvim/lua/keymaps.lua +++ b/.config/nvim/lua/keymaps.lua @@ -120,21 +120,22 @@ local keymaps = { -- { 'n', '<leader>W', prev_diagnostic(severity.WARN), { desc = 'Goto [W]arning (prev)' } }, { 'n', '<leader>D', cursor_diagnostics, { desc = '[D]iagnostics under cursor' } }, -- MARK lsphover: - -- { - -- 'n', - -- 'K', - -- function() - -- vim.lsp.buf.hover({ - -- border = 'rounded', - -- focusable = true, - -- relative = 'cursor', - -- wrap = true, - -- wrap_at = 120, - -- width = 120, - -- }) - -- end, - -- { desc = '[D]iagnostics under cursor' }, - -- }, + { + 'n', + 'K', + function() + vim.lsp.buf.hover({ + border = 'rounded', + focusable = true, + relative = 'cursor', + wrap = true, + wrap_at = 120, + width = 120, + height = 20, + }) + end, + { desc = '[D]iagnostics under cursor' }, + }, } local function set_keymaps(tbl, bufnr) |
