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 authored and GitHub committed 2026-09-01 13:23:23 +00:00
1 parent ca992e82d4
commit 9ebf9b1017
1 file changed
+1
+1
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