1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-28 10:24:47 +01:00

NVIM: Improved hover and preview handeling

This commit is contained in:
2026-03-24 10:36:55 +01:00
parent b077e877f5
commit 5a0286c68b
2 changed files with 10 additions and 1 deletions

View File

@@ -433,7 +433,7 @@ wk.add({
vim.keymap.set("n", "K", function()
local winid = require("ufo").peekFoldedLinesUnderCursor()
if not winid then
vim.lsp.buf.hover({ border = "rounded" })
vim.lsp.buf.hover({ border = "rounded", focusable = false, max_width = 100 })
end
end, {
buffer = bufnr,