fix(ui2): respect options set during startup after enabling ui2 #41591

Problem: options related to ui2 (like `fillchars` with `msgsep`) do not
  take effect if set during startup after enabling ui2.

Solution: explicitly check just after startup if relevant options were
  changed during startup.
This commit is contained in:
Evgeni Chasnovski
2026-09-01 16:23:23 +03:00
committed by GitHub
parent ca992e82d4
commit 9ebf9b1017

View File

@@ -243,6 +243,7 @@ function M.enable(opts)
if vim.v.vim_did_enter == 0 then
vim.schedule(function()
check_cmdheight(vim.o.cmdheight)
M.msg.on_option_changed()
end)
end