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
|
@ -19,11 +19,12 @@ local Text = require("lazy.view.text")
|
|||
---@field _details? string
|
||||
local M = setmetatable({}, { __index = Text })
|
||||
|
||||
function M.new(buf, win, padding)
|
||||
function M.new(buf, win, padding, wrap)
|
||||
local self = setmetatable({}, { __index = M })
|
||||
self.buf = buf
|
||||
self.win = win
|
||||
self.padding = padding or 0
|
||||
self.wrap = wrap
|
||||
return self
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue