Skip to content

Commit

Permalink
fix(winbar): remove redrawstatus on BufWinEnter: window flicker trade…
Browse files Browse the repository at this point in the history
…off is not worth it
  • Loading branch information
rebelot committed Jun 6, 2022
1 parent be8d39c commit 14d1971
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/heirline/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ local function setup_local_winbar_with_autocmd()
vim.api.nvim_create_autocmd("BufWinEnter", {
callback = function()
vim.opt_local.winbar = "%{%v:lua.require'heirline'.eval_winbar()%}"
vim.cmd('redrawstatus')
end,
group = augrp_id,
desc = "Heirline: set window-local winbar",
Expand Down

0 comments on commit 14d1971

Please sign in to comment.