fix: change max width of some floating windows

This commit is contained in:
2025-04-30 20:51:41 +02:00
parent 4b26ea31ab
commit 5960f9f71b
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -52,14 +52,14 @@ function M:init(server, bufnr)
mode = { "n", "i" },
lhs = "<C-k>",
rhs = function()
vim.lsp.buf.hover({ border = "single" })
vim.lsp.buf.hover({ border = "single", max_width = 80 })
end,
},
{
mode = { "n", "i" },
lhs = "<C-j>",
rhs = function()
vim.lsp.buf.signature_help({ border = "single" })
vim.lsp.buf.signature_help({ border = "single", max_width = 80 })
end,
},
{