Skip to content

Highlight for slash search not applied in terminal #9964

@cideM

Description

@cideM
  • nvim --version: 0.3.5
  • Vim (version: ) 8.1 same behavior
  • Operating system/version: Linux yuuki-antergos 5.0.10-arch1-1-ARCH
  • Terminal name/version: alacritty 0.3.2
  • $TERM: tmux-256color (same outside of tmux)

Steps to reproduce using nvim -u NORC

nvim -u NORC --cmd "hi Search ctermfg=3"
:term
$ ls
/searchSomething

Actual behaviour

Search match does not always get the specified color. It seems to work for some matches, which look like they have just my normal foreground color. But the ones that ls colors in bold for example retain their own color, leading to legibility issues.

Expected behaviour

ctermfg is applied to all search matches.

Sorry if this behavior is specified somewhere but I couldn't find anything with :h nor in the issues here on Github

Metadata

Metadata

Assignees

No one assigned

    Labels

    terminalbuilt-in :terminal or :shell

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions