mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-07 21:39:07 -04:00
Update yazi and its plugins
This commit is contained in:
parent
ab39adc2f3
commit
09065ab756
16 changed files with 1805 additions and 113 deletions
|
@ -1,4 +1,4 @@
|
|||
--- @since 25.2.7
|
||||
--- @since 25.2.26
|
||||
|
||||
local function setup(_, opts)
|
||||
local type = opts and opts.type or ui.Border.ROUNDED
|
||||
|
@ -6,7 +6,7 @@ local function setup(_, opts)
|
|||
|
||||
Tab.build = function(self, ...)
|
||||
local bar = function(c, x, y)
|
||||
if x <= 0 or x == self._area.w - 1 then
|
||||
if x <= 0 or x == self._area.w - 1 or th.mgr.border_symbol ~= "│" then
|
||||
return ui.Bar(ui.Bar.TOP)
|
||||
end
|
||||
|
||||
|
@ -24,7 +24,7 @@ local function setup(_, opts)
|
|||
c[3]:pad(ui.Pad.y(1)),
|
||||
}
|
||||
|
||||
local style = THEME.manager.border_style
|
||||
local style = th.mgr.border_style
|
||||
self._base = ya.list_merge(self._base or {}, {
|
||||
ui.Border(ui.Border.ALL):area(self._area):type(type):style(style),
|
||||
ui.Bar(ui.Bar.RIGHT):area(self._chunks[1]):style(style),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue