tokyonight.nvim icon indicating copy to clipboard operation
tokyonight.nvim copied to clipboard

bug: snacks-terminal winblend and transparency

Open tnxz opened this issue 2 months ago • 2 comments

Did you check docs and existing issues?

  • [x] I have read all the tokyonight.nvim docs
  • [x] I have updated the plugin to the latest version before submitting this issue
  • [x] I have searched the existing issues of tokyonight.nvim
  • [x] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.12.0-dev-1436+g7ac6e91d06

Operating system/version

macOS 26.0.1

Describe the bug

when transparent=true, winblend show no effect on snacks-terminal

Image

if transparent=false then winblend works as intended

Image

Steps To Reproduce

use the below config

Expected Behavior

when transparent=true winblend should affect snacks-terminal

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {

    {
      "folke/tokyonight.nvim",
      priority = 1000,
      config = function()
        require("tokyonight").setup({
          style = "night",
          transparent = true,
        })

        vim.cmd("colorscheme tokyonight")
      end,
    },

    {
      "folke/snacks.nvim",
      keys = {
        {
          "`",
          function()
            require("snacks").terminal()
          end,
          desc = "Toggle Terminal",
          mode = { "n", "t" },
        },
      },
      opts = {
        terminal = { win = { position = "float" } },
        styles = {
          terminal = { wo = { winblend = 15 } },
        },
      }
    }

  },
})

tnxz avatar Oct 14 '25 05:10 tnxz

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Nov 14 '25 02:11 github-actions[bot]

not stale

tnxz avatar Nov 14 '25 02:11 tnxz

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Dec 15 '25 02:12 github-actions[bot]