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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user