Skip to content

change background color for C/C++ "type" #5458

@jlmxyz

Description

@jlmxyz

Result from CocInfo

vim version: VIM - Vi IMproved 9.1 9011652
node version: v24.9.0
coc.nvim version: 0.0.82-54079c0 2025-10-13 20:16:26 +0800
coc.nvim directory: /home/XXX/data/conf/vim/plugged/coc.nvim
term: dumb
platform: linux

Describe the bug

the background of keywords when selecting text is different for the keywords compared to other text (it stay as unselected text) in gvim (works in vim)

Reproduce the bug

see #5456

theme tested that create the bug : https://github.com/tomasr/molokai/blob/master/colors/molokai.vim
open C/C++ file in gvim (it works in vim)
select some parts of source code containing "type" keyword (class names, uint* etc)

Screenshots (optional)

see #5456 for screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions