Skip to content

Commit

Permalink
fix(general behavior)!: do not clear the winbar when not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed Jun 1, 2023
1 parent aeea703 commit 5d7030f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/dropbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ local function setup(opts)
local function _switch(buf, win)
if configs.eval(configs.opts.general.enable, buf, win) then
vim.wo.winbar = '%{%v:lua.dropbar.get_dropbar_str()%}'
else
vim.wo.winbar = nil
end
end
for _, win in ipairs(vim.api.nvim_list_wins()) do
Expand Down

0 comments on commit 5d7030f

Please sign in to comment.