Revert "fix: don't call redrawstatus/tabline they have a ton of side effects"
This reverts commit 6fbc35b3e0134ccce3848fef8855a3bb390aa509. The statusline flashing issue in #747 doesn't seem to occur any more as we aren't updating in autocmd context . But we still have statusline not updating in cmdline mode. So lets try reintroducing the redraw commands.
This commit is contained in:
parent
d2a727da9f
commit
b1042d3184
@ -438,6 +438,13 @@ local function refresh(opts)
|
||||
end
|
||||
end
|
||||
|
||||
-- call redraw
|
||||
if vim.tbl_contains(opts.place, 'statusline') or vim.tbl_contains(opts.place, 'winbar') then
|
||||
vim.cmd('redrawstatus')
|
||||
elseif vim.tbl_contains(opts.place, 'tabline') then
|
||||
vim.cmd('redrawtabline')
|
||||
end
|
||||
|
||||
vim.g.actual_curwin = old_actual_curwin
|
||||
refresh_real_curwin = nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user