Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bg_gutter not being set properly #260

Open
BeeverFeever opened this issue Nov 12, 2024 · 0 comments
Open

bg_gutter not being set properly #260

BeeverFeever opened this issue Nov 12, 2024 · 0 comments

Comments

@BeeverFeever
Copy link

BeeverFeever commented Nov 12, 2024

I have this as my setup for kanagawa

local dragon_theme = require("kanagawa.colors").setup({ theme = "dragon" }).theme
require("kanagawa").setup({
   colors = {
      theme = {
         wave = {
            ui = dragon_theme.ui,
         },
         all = {
            ui = { bg_gutter = "none" }
         },
      },
   },
   overrides = function(colors)
      local current_theme = colors.theme
      return {
         Pmenu = { fg = current_theme.ui.shade0, bg = current_theme.ui.bg_p1 },
         PmenuSel = { fg = "NONE", bg = current_theme.ui.bg_p2 },
         PmenuSbar = { bg = current_theme.ui.bg_m1 },
         PmenuThumb = { bg = current_theme.ui.bg_p2 },
      }
   end,
})
vim.cmd.colorscheme("kanagawa")

However, this doesn't turn off the bg_gutter. It still has a different colour to the background.
Even changing it to be something like dragon_theme.ui.special which is set to springviolet1, it does nothing. This only happens when I set wave = { ui = dragon_theme.ui }.

Edit: weird formatting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant