Skip to content

bg_gutter not being set properly #260

@BeeverFeever

Description

@BeeverFeever

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions