feat: cmp theme
This commit is contained in:
parent
a77a556bf7
commit
97cd837282
1 changed files with 24 additions and 29 deletions
|
|
@ -73,7 +73,7 @@ function M.apply()
|
||||||
hi('CursorLineNr', { fg = cs.medium_emphasis })
|
hi('CursorLineNr', { fg = cs.medium_emphasis })
|
||||||
|
|
||||||
hi('Conceal', { fg = cs.light_black, bg = cs.black })
|
hi('Conceal', { fg = cs.light_black, bg = cs.black })
|
||||||
hi('Directory', { fg = cs.white })
|
hi('Directory', { fg = cs.blue })
|
||||||
hi('Error', { fg = cs.red })
|
hi('Error', { fg = cs.red })
|
||||||
hi('ErrorMsg', { bold = true, underline = true, fg = cs.red })
|
hi('ErrorMsg', { bold = true, underline = true, fg = cs.red })
|
||||||
hi('MoreMsg', { fg = cs.yellow }, { 'WarningMsg' })
|
hi('MoreMsg', { fg = cs.yellow }, { 'WarningMsg' })
|
||||||
|
|
@ -172,34 +172,29 @@ function M.apply()
|
||||||
hi('CmpItemAbbrDeprecated', { fg = cs.light_black, strikethrough = true })
|
hi('CmpItemAbbrDeprecated', { fg = cs.light_black, strikethrough = true })
|
||||||
hi('CmpItemMenu', { fg = cs.light_black })
|
hi('CmpItemMenu', { fg = cs.light_black })
|
||||||
|
|
||||||
for hlgroup, color in pairs({
|
link('Boolean', 'CmpItemKindBoolean')
|
||||||
Key = 'white',
|
link('Constant', 'CmpItemKindConstant')
|
||||||
Keyword = 'blue',
|
link('Function', 'CmpItemKindFunction')
|
||||||
Folder = 'white',
|
link('Keyword', 'CmpItemKindKeyword')
|
||||||
File = 'white',
|
link('Namespace', 'CmpItemKindNamespace')
|
||||||
Boolean = 'green',
|
link('Number', 'CmpItemKindNumber')
|
||||||
Class = 'white',
|
link('Operator', 'CmpItemKindOperator')
|
||||||
Constant = 'green',
|
link('String', 'CmpItemKindString')
|
||||||
Constructor = 'white',
|
link('Type', 'CmpItemKindClass')
|
||||||
Enum = 'white',
|
link('Type', 'CmpItemKindEnum')
|
||||||
EnumMember = 'white',
|
link('Type', 'CmpItemKindInterface')
|
||||||
Field = 'white',
|
link('Type', 'CmpItemKindStruct')
|
||||||
Function = 'white',
|
link('Type', 'CmpItemKindConstructor')
|
||||||
Interface = 'white',
|
link('Type', 'CmpItemKindTypeParameter')
|
||||||
Method = 'white',
|
link('Function', 'CmpItemKindMethod')
|
||||||
Namespace = 'white',
|
link('Normal', 'CmpItemKindVariable')
|
||||||
Null = 'white',
|
link('Normal', 'CmpItemKindProperty')
|
||||||
Number = 'green',
|
link('Normal', 'CmpItemKindField')
|
||||||
Operator = 'white',
|
link('Normal', 'CmpItemKindText')
|
||||||
Property = 'white',
|
link('Normal', 'CmpItemKindFile')
|
||||||
String = 'green',
|
link('String', 'CmpItemKindKey')
|
||||||
Struct = 'white',
|
link('Directory', 'CmpItemKindFolder')
|
||||||
Text = 'white',
|
link('Constant', 'CmpItemKindNull')
|
||||||
TypeParameter = 'white',
|
|
||||||
Variable = 'white',
|
|
||||||
}) do
|
|
||||||
hi('CmpItemKind' .. hlgroup, { fg = cs[color] })
|
|
||||||
end
|
|
||||||
|
|
||||||
link('NormalFloat', 'NullLsInfoBorder')
|
link('NormalFloat', 'NullLsInfoBorder')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue