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