mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 08:02:38 +00:00
The OptionSet autocommand does not fire until Vim has finished starting, so setting 'background' before the VimEnter event would not fire the OptionSet event. The prior implementation also waited until VimEnter to set 'background', so this was a regression introduced when moving background detection into Lua.