catppuccin/vim

I don't seem able to override the Pmenu background color.

bitwombat opened this issue · 5 comments

The pop-up diagnostics screen has a background too close to Catppuccin's background, so I'd like to make it lighter.

My config for neovim 0.9.0 and catpuccin ad63055 is:

{
  "catppuccin/nvim",
  name = "catppuccin",
  priority = 1000,
  integrations = {
    mason = true,
  },
  custom_highlights = function(colors)
    return {
      Pmenu = { bg = "#808000" },
    }
  end
},

But it has no effect, and the setting doesn't even take:

image

I also get no effect with an :hi Pmenu guibg=#808000 either.

The weird thing is that the :hi command does have an effect if I use the built-in themes (eg. blue or dalek).

User error?

M3nny commented

Hi bitwombat,
it seems like that you are not using this port from your first line of configuration, you may want to try to use the neovim port instead

?? First line of config shown above is "catppuccin/nvim",

cideM commented

This is the /vim repository though

Dev of catppuccin/nvim here, you reported in the wrong repo.

Anyway, plugin config should be wrapped inside opts = {}, modify your config like below:

diff --git a/wrong.lua b/true.lua
index c4e1056..6e7c7f1 100644
--- a/wrong.lua
+++ b/true.lua
@@ -61,14 +61,16 @@ require("lazy").setup({
     "catppuccin/nvim",
     name = "catppuccin",
     priority = 1000,
-    integrations = {
-      mason = true,
+    opts = {
+      integrations = {
+        mason = true,
+      },
+      custom_highlights = function(colors)
+        return {
+          Pmenu = { guibg = "#808000" },
+        }
+      end,
     },
-    custom_highlights = function(colors)
-      return {
-        Pmenu = { guibg = "#808000" },
-      }
-    end,
   },

you reported in the wrong repo.

Ooooo! Der. Thanks. And thanks for developing/supporting catppuccin/nvim.

The above still didn't "take". I'll go report in the right repo.