chore: class new is now generic
This commit is contained in:
@@ -20,7 +20,7 @@ function DecoratorHidden:create(opts, explorer)
|
||||
hl_pos = HL_POSITION[opts.renderer.highlight_hidden] or HL_POSITION.none,
|
||||
icon_placement = ICON_PLACEMENT[opts.renderer.icons.hidden_placement] or ICON_PLACEMENT.none,
|
||||
}
|
||||
o = self:new(o) --[[@as DecoratorHidden]]
|
||||
o = self:new(o)
|
||||
|
||||
if opts.renderer.icons.show.hidden then
|
||||
o.icon = {
|
||||
|
||||
Reference in New Issue
Block a user