mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: added config.ui.wrap
and improved wrapping when wrap=true. Fixes #422
This commit is contained in:
parent
c389ad552b
commit
d6fc848067
4 changed files with 21 additions and 5 deletions
|
@ -127,13 +127,13 @@ function M:title()
|
|||
|
||||
if self.view.state.mode == mode.name then
|
||||
if mode.name == "home" then
|
||||
self:append(title, "LazyH1")
|
||||
self:append(title, "LazyH1", { wrap = true })
|
||||
else
|
||||
self:append(title, "LazyButtonActive")
|
||||
self:append(title, "LazyButtonActive", { wrap = true })
|
||||
self:highlight({ ["%(.%)"] = "LazySpecial" })
|
||||
end
|
||||
else
|
||||
self:append(title, "LazyButton")
|
||||
self:append(title, "LazyButton", { wrap = true })
|
||||
self:highlight({ ["%(.%)"] = "LazySpecial" })
|
||||
end
|
||||
self:append(" ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue