Skip to content

Commit

Permalink
fix(lint): unused variable self
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed May 30, 2023
1 parent 76af435 commit 5d31a34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lua/dropbar/bar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function dropbar_symbol_t:new(opts)
name = '',
icon = '',
}, opts or {}),
dropbar_symbol_t
self
)
end

Expand Down Expand Up @@ -183,7 +183,7 @@ function dropbar_t:new(opts)
}),
padding = configs.opts.bar.padding,
}, opts or {}),
dropbar_t
self
)
-- vim.tbl_deep_extend drops metatables
dropbar.separator = dropbar_symbol_t:new(dropbar.separator)
Expand Down
2 changes: 1 addition & 1 deletion lua/dropbar/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function dropbar_menu_t:new(opts)
entries = {},
win_configs = configs.opts.menu.win_configs,
}, opts or {}),
dropbar_menu_t
self
)
for idx, entry in ipairs(dropbar_menu.entries) do
entry.menu = dropbar_menu
Expand Down

0 comments on commit 5d31a34

Please sign in to comment.