Skip to content

Normal guifg color turns to white on CursorLine when termguicolors is set #19485

@lilydjwg

Description

@lilydjwg

Steps to reproduce

  1. vim --clean
  2. Input some text
  3. :colo blue. The Normal text color changes to an orange one.
  4. :set cursorline termguicolors
  5. Move cursor and you can see the text becomes white on cursor line

95e8faa is the first bad commit.

Expected behaviour

The cursor line foreground color doesn't change if not explicitly set, like in GUI or with 'notermguicolors'.

Version of Vim

9.2.43

Environment

Arch Linux, GNOME Termal 3.58.1-1 with or without tmux, $TERM = xterm-256color or tmux-256color.

Logs and stack traces

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions