mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
refactor: easier to pass window options for floats
This commit is contained in:
parent
d3b0d3e851
commit
13af39b83e
4 changed files with 62 additions and 49 deletions
|
@ -26,7 +26,7 @@ function M.new(view)
|
|||
local self = setmetatable({}, { __index = setmetatable(M, { __index = Text }) })
|
||||
self.view = view
|
||||
self.padding = 2
|
||||
self.wrap = view.opts.win_opts.width
|
||||
self.wrap = view.win_opts.width
|
||||
return self
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue