From cf9cca46e1c0af3e34187c5df17e163560bdb0ab Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 4 Sep 2024 13:10:10 +0200 Subject: [PATCH] update popup colors --- home/base/programs/nixvim/plugins/lsp.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/base/programs/nixvim/plugins/lsp.nix b/home/base/programs/nixvim/plugins/lsp.nix index e1d3d2f..7825ec9 100644 --- a/home/base/programs/nixvim/plugins/lsp.nix +++ b/home/base/programs/nixvim/plugins/lsp.nix @@ -118,6 +118,13 @@ } ]; }; + postConfig = '' + local pmenu_bg = vim.api.nvim_get_hl_by_name("Pmenu", true).background + local pmenu_fg = vim.api.nvim_get_hl_by_name("Pmenu", true).foreground + + vim.api.nvim_set_hl(0, "NormalFloat", { bg = pmenu_bg, fg = pmenu_fg }) + vim.api.nvim_set_hl(0, "FloatBorder", { bg = pmenu_bg, fg = pmenu_fg }) + ''; }; cmp = { enable = true;