nvim: colors/yolokai: Update highlight for nvim-cmp

This adds support for using different highlights for each
of the LSP kind items like variable, functions, methods etc.
This commit is contained in:
Sanchayan Maity 2021-12-01 14:35:15 +05:30
parent 1643837553
commit 674b1539ed
1 changed files with 31 additions and 6 deletions

View File

@ -718,12 +718,37 @@ local highlight_groups = {
pandocEmphasisInStrong = 'pandocStrongEmphasis',
--[[ 4.4.15 nvim-cmp ]]
CmpItemKind = {bg=black, fg=orange, style=NONE },
CmpItemMenu = {bg=black, fg=NONE, style=NONE },
CmpItemAbbr = {bg=black, fg=aqua, style=NONE },
CmpItemAbbrMatch = {bg=black, fg=red, style='bold' },
CmpItemAbbrMatchFuzzy = {bg=black, fg=aqua, style='bold' },
CmpItemAbbrDeprecated = {bg=black, fg=purple, style=NONE },
CmpItemMenu = {bg=black, fg=NONE, style=NONE },
CmpItemAbbr = {bg=black, fg=aqua, style=NONE },
CmpItemAbbrMatch = {bg=black, fg=red, style='underline' },
CmpItemAbbrMatchFuzzy = {bg=black, fg=aqua, style='bold' },
CmpItemAbbrDeprecated = {bg=black, fg=purple, style=NONE },
CmpItemKind = {bg=black, fg=orange, style=NONE },
CmpItemKindText = 'String',
CmpItemKindMethod = 'CmpItemKindFunction',
CmpItemKindFunction = 'Function',
CmpItemKindConstructor = 'CmpItemKindMethod',
CmpItemKindField = 'Identifier',
CmpItemKindVariable = 'Identifier',
CmpItemKindClass = 'CmpItemKindStruct',
CmpItemKindInterface = 'Type',
CmpItemKindModule = 'Include',
CmpItemKindProperty = 'CmpItemKindField',
CmpItemKindUnit = 'CmpItemKindStruct',
CmpItemKindValue = 'CmpItemKindConstant',
CmpItemKindEnum = 'CmpItemKindStruct',
CmpItemKindKeyword = 'Keyword',
CmpItemKindSnippet = 'Special',
CmpItemKindColor = 'Label',
CmpItemKindFile = 'Directory',
CmpItemKindReference = 'StorageClass',
CmpItemKindFolder = 'CmpItemKindFile',
CmpItemKindEnumMember = 'CmpItemKindConstant',
CmpItemKindConstant = 'Constant',
CmpItemKindStruct = 'Structure',
CmpItemKindEvent = 'Repeat',
CmpItemKindOperator = 'Operator',
CmpItemKindTypeParameter = 'Typedef',
--[[ 4.4.16 Hop ]]
HopNextKey = {bg=red , fg=black , style='bold'},