Skip to content

Tabline doesn't fade on focus lost when enablefocusfading is set? #100

Description

@shyun3

Hello, I have enablefocusfading set to true and I would have expected that the tabline gets faded when Neovim loses focus but that doesn't seem to be happening. I saw that 'TabLineSel' is specified as a highlight group in the default blocklist, but no other part of the tabline gets faded.

Here's my repro.lua:

local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  -- add any other pugins here
  {
    "tadaa/vimade",
    opts = { enablefocusfading = true },
  },
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

Focused:
Image

Not focused:
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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