Problem: if `Normal.bg` is nil when `compute_highlight_groups` first runs (colorscheme not yet loaded), the neutral fallbacks are baked in and never corrected — the `ColorScheme` autocmd only fires for explicit `:colorscheme` calls, which may come too late for some plugin manager configurations. Solution: when `Normal.bg` is absent, schedule a single deferred retry via `vim.schedule` that recomputes all highlight groups and invalidates attached buffer caches once the event loop settles. Also document the load-order requirement and the retry behaviour in the highlight groups section of the vimdoc. |
||
|---|---|---|
| .. | ||
| commands.lua | ||
| conflict.lua | ||
| debug.lua | ||
| diff.lua | ||
| fugitive.lua | ||
| git.lua | ||
| health.lua | ||
| highlight.lua | ||
| init.lua | ||
| lib.lua | ||
| log.lua | ||
| merge.lua | ||
| parser.lua | ||