Skip to content

Commit

Permalink
fix(blink): blink highlight group additions
Browse files Browse the repository at this point in the history
Blink.cmp currently has a broken tokyonight color scheme due to some
highlight groups not being set.
  • Loading branch information
whoop-t committed Dec 19, 2024
1 parent 45d22cf commit 31723c7
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions lua/tokyonight/groups/blink.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@ M.url = "https://github.com/Saghen/blink.cmp"
function M.get(c, opts)
-- stylua: ignore
local ret = {
BlinkCmpDoc = { fg = c.fg, bg = c.bg_float },
BlinkCmpDocBorder = { fg = c.border_highlight, bg = c.bg_float },
BlinkCmpGhostText = { fg = c.terminal_black },
BlinkCmpKindCodeium = { fg = c.teal, bg = c.none },
BlinkCmpKindCopilot = { fg = c.teal, bg = c.none },
BlinkCmpKindDefault = { fg = c.fg_dark, bg = c.none },
BlinkCmpKindSupermaven = { fg = c.teal, bg = c.none },
BlinkCmpKindTabNine = { fg = c.teal, bg = c.none },
BlinkCmpLabel = { fg = c.fg, bg = c.none },
BlinkCmpLabelDeprecated = { fg = c.fg_gutter, bg = c.none, strikethrough = true },
BlinkCmpLabelMatch = { fg = c.blue1, bg = c.none },
BlinkCmpDoc = { fg = c.fg, bg = c.bg_float },
BlinkCmpDocBorder = { fg = c.border_highlight, bg = c.bg_float },
BlinkCmpGhostText = { fg = c.terminal_black },
BlinkCmpKindCodeium = { fg = c.teal, bg = c.none },
BlinkCmpKindCopilot = { fg = c.teal, bg = c.none },
BlinkCmpKindDefault = { fg = c.fg_dark, bg = c.none },
BlinkCmpKindSupermaven = { fg = c.teal, bg = c.none },
BlinkCmpKindTabNine = { fg = c.teal, bg = c.none },
BlinkCmpLabel = { fg = c.fg, bg = c.none },
BlinkCmpLabelDeprecated = { fg = c.fg_gutter, bg = c.none, strikethrough = true },
BlinkCmpLabelMatch = { fg = c.blue1, bg = c.none },
BlinkCmpMenu = { fg = c.fg, bg = c.bg_float },
BlinkCmpMenuBorder = { fg = c.border_highlight, bg = c.bg_float },
BlinkCmpSignatureHelp = { fg = c.fg, bg = c.bg_float },
BlinkCmpSignatureHelpBorder = { fg = c.border_highlight, bg = c.bg_float },
}

require("tokyonight.groups.kinds").kinds(ret, "BlinkCmpKind%s")
Expand Down

0 comments on commit 31723c7

Please sign in to comment.