mirror of
https://github.com/gabehf/base46.git
synced 2026-03-15 02:05:56 -07:00
add highlights for cmpkind
This commit is contained in:
parent
f712406df5
commit
15a1b910a0
2 changed files with 40 additions and 7 deletions
34
lua/integrations/cmp.lua
Normal file
34
lua/integrations/cmp.lua
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
local theme = require("base16").get_colors "base_16"
|
||||||
|
local base_30 = require("base16").get_colors "base_30"
|
||||||
|
|
||||||
|
return {
|
||||||
|
CmpItemKindConstant = { fg = theme.base09 },
|
||||||
|
CmpItemKindFunction = { fg = theme.base0D },
|
||||||
|
CmpItemKindIdentifier = { fg = theme.base08 },
|
||||||
|
CmpItemKindField = { fg = theme.base08 },
|
||||||
|
CmpItemKindVariable = { fg = theme.base0E },
|
||||||
|
Special = { fg = theme.base0C },
|
||||||
|
CmpItemKindSnippet = { fg = base_30.red },
|
||||||
|
CmpItemKindText = { fg = theme.base0B },
|
||||||
|
CmpItemKindStructure = { fg = theme.base0E },
|
||||||
|
CmpItemKindType = { fg = theme.base0A },
|
||||||
|
CmpItemKindKeyword = { fg = theme.base07 },
|
||||||
|
CmpItemKindMethod = { fg = theme.base0D },
|
||||||
|
CmpItemKindConstructor = { fg = base_30.blue },
|
||||||
|
CmpItemKindFolder = { fg = theme.base07 },
|
||||||
|
CmpItemKindModule = { fg = theme.base0A },
|
||||||
|
CmpItemKindProperty = { fg = theme.base08 },
|
||||||
|
-- CmpItemKindEnum = { fg = "" },
|
||||||
|
CmpItemKindUnit = { fg = theme.base0E },
|
||||||
|
-- CmpItemKindClass = { fg = "" },
|
||||||
|
CmpItemKindFile = { fg = theme.base07 },
|
||||||
|
-- CmpItemKindInterface = { fg = "" },
|
||||||
|
CmpItemKindColor = { fg = base_30.red },
|
||||||
|
CmpItemKindReference = { fg = theme.base05 },
|
||||||
|
-- CmpItemKindEnumMember = { fg = "" },
|
||||||
|
CmpItemKindStruct = { fg = theme.base0E },
|
||||||
|
-- CmpItemKindValue = { fg = "" },
|
||||||
|
-- CmpItemKindEvent = { fg = "" },
|
||||||
|
CmpItemKindOperator = { fg = theme.base05 },
|
||||||
|
CmpItemKindTypeParameter = { fg = theme.base08 },
|
||||||
|
}
|
||||||
|
|
@ -11,7 +11,6 @@ local grey = colors.grey
|
||||||
local grey_fg = colors.grey_fg
|
local grey_fg = colors.grey_fg
|
||||||
local light_grey = colors.light_grey
|
local light_grey = colors.light_grey
|
||||||
local line = colors.line
|
local line = colors.line
|
||||||
local nord_blue = colors.nord_blue
|
|
||||||
local one_bg = colors.one_bg
|
local one_bg = colors.one_bg
|
||||||
local one_bg2 = colors.one_bg2
|
local one_bg2 = colors.one_bg2
|
||||||
local pmenu_bg = colors.pmenu_bg
|
local pmenu_bg = colors.pmenu_bg
|
||||||
|
|
@ -38,16 +37,16 @@ local defaults = {
|
||||||
NormalFloat = { bg = darker_black },
|
NormalFloat = { bg = darker_black },
|
||||||
|
|
||||||
-- Pmenu i.e completion menu
|
-- Pmenu i.e completion menu
|
||||||
Pmenu = { bg = one_bg },
|
Pmenu = { bg = black },
|
||||||
PmenuSbar = { bg = one_bg2 },
|
PmenuSbar = { bg = one_bg },
|
||||||
PmenuSel = { bg = pmenu_bg, fg = black },
|
PmenuSel = { bg = pmenu_bg, fg = black },
|
||||||
PmenuThumb = { bg = nord_blue },
|
PmenuThumb = { bg = grey },
|
||||||
|
|
||||||
-- nvim cmp
|
-- nvim cmp
|
||||||
CmpItemAbbr = { fg = white },
|
CmpItemAbbr = { fg = white },
|
||||||
CmpItemAbbrMatch = { fg = white },
|
CmpItemAbbrMatch = { fg = blue, bold = true },
|
||||||
CmpItemKind = { fg = white },
|
CmpBorder = { fg = grey },
|
||||||
CmpItemMenu = { fg = white },
|
CmpDocBorder = { fg = grey },
|
||||||
|
|
||||||
NvimInternalError = { fg = red },
|
NvimInternalError = { fg = red },
|
||||||
WinSeparator = { fg = one_bg2 },
|
WinSeparator = { fg = one_bg2 },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue