neoclide / coc-lists

Common lists for coc.nvim
264 stars 24 forks source link

coclist grep does not respect color values #70

Closed liumm97 closed 4 years ago

liumm97 commented 4 years ago

ENVIRONMENT

QUESTION

When i user CocList-grep to find word,the result does not respect color values .

WechatIMG76
sparkcanon commented 4 years ago

@Laumm this could be most likely your colorscheme as it sometimes happens to me. Try badwolf and check if you see the issue again.

arbitrary-dev commented 4 years ago

Have the same issue, no coloring in CocLists and also the same for CocLocation. What makes it unable to identify which line is currently selected.

I guess it's due to highlighting groups being set up only for gui clients, not terminal:

:hi
...
CocListBlueRed xxx guifg=#458588 guibg=#cc241d
CocListFgBlue  xxx guifg=#458588
CocListBgBlue  xxx guibg=#458588
...

Should also have corresponding cterm{fg,bg} fields defined to support terminal vim clients.

@chemzqm Could you please tell which highligting group is being used for selected line? Tried CocSelectedLine, but it didn't help.

chemzqm commented 4 years ago

@adelarsq it's :hi CursorLine