[vim/vim] Only set fgcolor while hlgroups is used on statusline if no bgcolor is set (Issue #20869)

Mao-Yining (Vim Github Repository) <[email protected]> Wed, 29 Jul 2026 06:13:19 -0700
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/issues/[email protected]>
mao-yining created an issue (vim/vim#20869)

```vim
hi User1 ctermfg=green guifg=green
setl statusline=%1*%f%*
```

Currently User1 is not set bgcolor, but it's bgcolor is same as Normal not Statusline or StatuelineNC

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/issues/20869
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/issues/[email protected]>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20869%40github.com.