Skip to content

Commit

Permalink
feat(blink): add highlights for blink completion
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimonho committed Jan 27, 2025
1 parent 108f0f5 commit 79bdc98
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions lua/kanagawa-paper/highlights/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ function M.setup(colors, opts)
healthWarning = { fg = theme.diag.warning },

-- Cmp
CmpDocumentation = { link = "NormalFloat" },
CmpDocumentationBorder = { link = "FloatBorder" },
CmpCompletion = { link = "Pmenu" },
CmpCompletionSel = { fg = "NONE", bg = theme.ui.pmenu.bg_sel },
CmpCompletionBorder = { fg = theme.ui.bg_search, bg = theme.ui.pmenu.bg },
CmpCompletionThumb = { link = "PmenuThumb" },
CmpCompletionSbar = { link = "PmenuSbar" },
CmpCompletionThumb = { bg = palette.fujiGray },
CmpCompletionSbar = { bg = palette.fujiWhite },
CmpDocumentation = { link = "NormalFloat" },
CmpDocumentationBorder = { link = "FloatBorder" },
CmpItemAbbr = { fg = theme.ui.pmenu.fg },
CmpItemAbbrDeprecated = { fg = theme.syn.comment, strikethrough = true },
CmpItemAbbrMatch = { fg = theme.syn.fun },
Expand Down Expand Up @@ -223,6 +223,28 @@ function M.setup(colors, opts)
CmpItemKindTypeParameter = { link = "Type" },
CmpItemKindCopilot = { link = "String" },

-- Blink
BlinkCmpMenu = { link = "CmpCompletion" },
BlinkCmpMenuBorder = { link = "CmpCompletionBorder" },
BlinkCmpMenuSelection = { link = "CmpCompletionSel" },
BlinkCmpScrollBarThumb = { link = "CmpCompletionThumb" },
BlinkCmpScrollBarGutter = { link = "CmpCompletionSbar" },
BlinkCmpLabel = { link = "CmpItemAbbr" },
BlinkCmpLabelDeprecated = { link = "CmpItemAbbrDeprecated" },
BlinkCmpLabelMatch = { link = "CmpItemAbbrMatch" },
BlinkCmpLabelDetail = { link = "NonText" },
BlinkCmpLabelDescription = { link = "NonText" },
BlinkCmpKind = { link = "CmpItemKindText" },
BlinkCmpSource = { link = "NonText" },
BlinkCmpGhostText = { link = "NonText" },
BlinkCmpDoc = { link = "CmpDocumentation" },
BlinkCmpDocBorder = { link = "CmpCompletionBorder" },
BlinkCmpDocSeparator = { fg = theme.ui.win_separator },
BlinkCmpDocCursorLine = { link = "CursorLine" },
BlinkCmpSignatureHelp = { link = "CmpDocumentation" },
BlinkCmpSignatureHelpBorder = { link = "CmpCompletionBorder" },
BlinkCmpSignatureHelpActiveParameter = { link = "LspSignatureActiveParameter" },

-- IndentBlankline
IndentBlanklineChar = { fg = theme.ui.indent },
IndentBlanklineSpaceChar = { fg = theme.ui.indent },
Expand Down

0 comments on commit 79bdc98

Please sign in to comment.