mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix(ui): properly wrap ui elements on small screens. Fixes #92
This commit is contained in:
parent
c0c2e1bd68
commit
3415a61789
3 changed files with 7 additions and 2 deletions
|
@ -122,7 +122,7 @@ function M.show(mode)
|
|||
callback = close,
|
||||
})
|
||||
|
||||
local render = Render.new(buf, win, 2)
|
||||
local render = Render.new(buf, win, 2, opts.width)
|
||||
local update = Util.throttle(Config.options.ui.throttle, function()
|
||||
if buf and vim.api.nvim_buf_is_valid(buf) then
|
||||
vim.bo[buf].modifiable = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue