hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.45k stars 370 forks source link

[Question] Is there any way to highlight the source type to another color? #1864

Closed barrientosvctor closed 3 months ago

barrientosvctor commented 3 months ago

I wanted to change the color of source types in cmp completion menu but I didn't find nothing to do it.

source

Is there any way to highlight this?

bew commented 3 months ago

IIRC you can change all of them, but there is currently no option to highlight a specifically source afaik

barrientosvctor commented 3 months ago

IIRC you can change all of them, but there is currently no option to highlight a specifically source afaik

How can I do it?

bew commented 3 months ago

The CmpItemMenu highlight group should allow you to change highlight of all source names

barrientosvctor commented 3 months ago

The CmpItemMenu highlight group should allow you to change highlight of all source names

It works. Thanks!