From 9ebf9b1017c2b7d63e5bb938dfd46c7be1117f98 Mon Sep 17 00:00:00 2001 From: Evgeni Chasnovski Date: Tue, 1 Sep 2026 16:23:23 +0300 Subject: [PATCH] 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. --- runtime/lua/vim/_core/ui2.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/lua/vim/_core/ui2.lua b/runtime/lua/vim/_core/ui2.lua index 8e8459f2f3..219a703fe8 100644 --- a/runtime/lua/vim/_core/ui2.lua +++ b/runtime/lua/vim/_core/ui2.lua @@ -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