For this reproduction, I'm using the MDN's basic HTML template.
F10). Ptyxis users should also set the GNOME colour palette in preferences (Ctrl+,), under the 'Appearance' tab.vim --clean index.htmlhlsearch with :set hlsearchmeta with /meta without pressing <Enter>CTRL-G/CTRL-TAll matches are visually indistinguishable (black text, yellow highlight), making it impossible to tell which is selected without further configuration.
This is not an issue in light style/mode.
When the terminal emulators (Ptyxis, GNOME Console, and Konsole) are in light style/mode, Vim colours the meta text a darker shade of yellow. This distinction is important since the selected match is highlighted by reversing the text and background colour, while the non-selected matches simply use a light shade of yellow.
This means the match highlighting behaviour differs between light/dark terminal emulators:
I'd expect the difference to be equally obvious when the terminal emulator is in dark style/mode.
I should note that setting termguicolors does make the selected match distinguishable in dark style/mode, as its background now adopts a slightly darker shade of yellow then the non-selected matches. Though it's certainly not a fix, since it remains difficult to discern the difference.
9.2.1119
Operating system: Fedora Linux 43 (Workstation Edition)
Terminal: Ptyxis 49.3 (Fedora Workstation default, primary), GNOME Console 49.2, Konsole 26.08.0
Value of $TERM: xterm-256color
Shell: fish, version 4.2.0
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
set bg=dark incremental search IncSearch is the reverse of foreground and background: hi IncSearch cterm=reverse.Statement which is ctermfg=11, bright yellow defined by term paletteIncSearch over meta would be bright yellow background (=11) and black foreground.Search is defined as ctermbg=11 -- same bright yellow as StatementsThus no difference between Search and IncSearch when IncSearch is over something that is highlighted as Statement.
For set bg=light the Statement has the color outside 16-palette, =130 that is why it is different.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()