Closed MuhametSmaili closed 1 year ago
Thank you for raising this issue. I believe that the colors used for the kind icons should match the code. While Dracula/Vim and VS Code use different colors, my implementation of Dracula.nvim may not use the same colors as either of them.
here an example:
I do not know what this example has to do with CMP
Thank you for raising this issue. I believe that the colors used for the kind icons should match the code. While Dracula/Vim and VS Code use different colors, my implementation of Dracula.nvim may not use the same colors as either of them.
here an example:
I do not understand what does the example you gave has to do with what I am saying.
You are showing the colors inside enum
and lsp-saga
, coding colors.
I am talking about CMP (completion engine) :
As you can see in the image above.
The example I showed earlier was from Lspsaga. What both Lspsaga and cmp have in common is that they both use lspkind icons. If you look closely at the example, you'll see that the Direction enum has the same color as the icons used in lspsaga. This is the same color that cmp uses.
Here are the code snippets for cmp and lspsaga, respectively:
cmp
hl(0, "CmpItemKindEnum", { link = '@type' })
hl(0, "CmpItemKindEnumMember", { link = '@constant' })
lspsaga
hl(0, "SagaWinbarEnum", { link = '@type' })
hl(0, "SagaWinbarEnumMember", { link = '@constant' })
If you're not a fan of the default colors in the Dracula.nvim colorscheme for the cmp plugin, don't worry! You can use the override table to customize the cmp colors to your liking. The Dracula.nvim colorscheme is fully customizable, and you can find instructions on how to customize the cmp colors by clicking here.
Currently, the cmp colors are not as they should be. In dracula/vim you can see the colors are completely different. For example, the
text
in the cmp ispink
which should bewhite
. Also, the colors are not the same as in thevscode
too,Here I wrote a basic color change that should be similar to other editors.
I did not write everything, needs rechecking with
vscode
anddracula/vim
. If you want and are the same opinion I can create aPR
, or you can check it.The most important one, Text -> fg deprecated -> error snippet -> fg.
The text is pink which makes it important but is not, and should not attract our eyes to read it first.
Thanks in advance