Improved how customized highlight groups work
This commit is contained in:
parent
a0ec7e7784
commit
7b9e749477
|
@ -26,7 +26,7 @@ return {
|
|||
end,
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered({ border = border, winhighlight = "CursorLine:YankHighlight" }),
|
||||
completion = cmp.config.window.bordered({ border = border, winhighlight = "CursorLine:CmpSelection" }),
|
||||
documentation = cmp.config.window.bordered({ border = border }),
|
||||
},
|
||||
-- Include the source of the cmp entry
|
||||
|
|
|
@ -14,24 +14,25 @@ return {
|
|||
},
|
||||
overrides = {
|
||||
YankHighlight = { fg = colors.blue, bg = colors.bg0, reverse = config.inverse },
|
||||
IncSearch = { fg = colors.aqua },
|
||||
Search = { fg = colors.aqua },
|
||||
IncSearch = { link = "Search" },
|
||||
NormalFloat = { bg = colors.bg0 },
|
||||
FloatBorder = { fg = colors.bg4 },
|
||||
TelescopePromptTitle = { fg = colors.fg4 },
|
||||
TelescopePromptBorder = { fg = colors.bg4 },
|
||||
TelescopePromptBorder = { link = "FloatBorder" },
|
||||
TelescopePromptPrefix = { fg = colors.red },
|
||||
TelescopePreviewTitle = { fg = colors.fg4 },
|
||||
TelescopePreviewBorder = { fg = colors.bg4 },
|
||||
TelescopeResultsTitle = { fg = colors.fg4 },
|
||||
TelescopeResultsBorder = { fg = colors.bg4 },
|
||||
TelescopePreviewTitle = { link = "TelescopePreviewTitle" },
|
||||
TelescopePreviewBorder = { link = "FloatBorder" },
|
||||
TelescopeResultsTitle = { link = "TelescopePreviewTitle" },
|
||||
TelescopeResultsBorder = { link = "FloatBorder" },
|
||||
TelescopeMatching = { fg = colors.aqua, bold = true },
|
||||
TelescopeSelection = { fg = colors.blue },
|
||||
TelescopeSelectionCaret = { fg = colors.red },
|
||||
TelescopeSelectionCaret = { link = "TelescopeSelection" },
|
||||
CmpItemAbbrMatch = { fg = colors.aqua, bold = true },
|
||||
CmpItemAbbrMatchFuzzy = { fg = colors.aqua, bold = true },
|
||||
CmpItemAbbrMatchFuzzy = { link = "CmpItemAbbrMatch" },
|
||||
CmpItemMenu = { fg = colors.bg2 },
|
||||
CmpItemKindFunction = { fg = colors.red },
|
||||
CmpSelection = { fg = colors.bg0, bg = colors.blue },
|
||||
LspReferenceText = { fg = colors.bg0, bg = colors.neutral_purple },
|
||||
LspReferenceRead = { link = "LspReferenceText" },
|
||||
LspReferenceWrite = { link = "LspReferenceText" },
|
||||
|
|
Loading…
Reference in New Issue
Block a user