From 09c0881355045b89f8e60fff9760505e660e04e5 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 8 Nov 2025 13:57:12 -0500 Subject: [PATCH] fix plugin integrations --- README.md | 1 + lua/midnight/theme.lua | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 909ce06..b143d12 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,4 @@ neovim theme for code, not colors. - [fzf-lua](https://github.com/ibhagwan/fzf-lua) - [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) - [gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim) +- [blink.cmp](https://github.com/saghen/blink.cmp) diff --git a/lua/midnight/theme.lua b/lua/midnight/theme.lua index de24386..a01c279 100644 --- a/lua/midnight/theme.lua +++ b/lua/midnight/theme.lua @@ -125,9 +125,9 @@ function M.apply() hi('@variable', { none = true }) - hi('Pmenu', { bg = cs.med_grey }, { 'PmenuSbar' }) - hi('PmenuSel', { fg = cs.med_grey, bg = cs.medium_emphasis }) - hi('PmenuThumb', { bg = cs.medium_emphasis }) + hi('Pmenu', { bg = cs.dark_grey }, { 'PmenuSbar' }) + hi('PmenuSel', { bg = cs.med_grey }) + hi('PmenuThumb', { bg = cs.grey }) hi('LspInlayHint', { fg = cs.light_black }) hi('LspSignatureActiveParameter', { underline = true, italic = true }) @@ -164,7 +164,13 @@ function M.apply() link('Search', 'HighlightUndo') + link('Pmenu', 'CmpPmenu') + link('PmenuSel', 'CmpPmenuSel') + hi('CmpItemAbbr', { fg = cs.white }) hi('CmpItemAbbrMatch', { fg = cs.white, bold = true }) + hi('CmpItemAbbrMatchFuzzy', { fg = cs.white, bold = true }) + hi('CmpItemAbbrDeprecated', { fg = cs.light_black, strikethrough = true }) + hi('CmpItemMenu', { fg = cs.light_black }) for hlgroup, color in pairs({ Key = 'white', @@ -202,6 +208,7 @@ function M.apply() link('NormalFloat', 'FzfLuaBorder') hi('FzfLuaHeaderText', { fg = cs.white }, { 'FzfLuaBufFlagCur' }) hi('FzfLuaBufFlagAlt', { fg = cs.white }) + link('Normal', 'FzfLuaLivePrompt') vim.g.terminal_color_0 = cs.black vim.g.terminal_color_1 = cs.red