Skip to content

Buffer not un-dimmed correctly after toggling off terminal opened with ToggleTerm plugin #47

@qvanle

Description

@qvanle

1. Description:

When using shade.nvim in combination with ToggleTerm, I encountered an issue where the dimming is not correctly reversed after closing the terminal.

2. Steps to reproduce:

Open a regular buffer (e.g., a file).

Use ToggleTerm to open a terminal below the current buffer.

Notice that shade.nvim dims the top buffer and focuses the terminal (bottom window) as expected.

Toggle off the terminal (<C-> then :ToggleTerm or similar).

The previously dimmed top buffer does not fully return to normal brightness—only the area that was occupied by the terminal is brightened.

3. Expected behavior:

When the terminal is toggled off, the top buffer (now the only visible window) should be fully un-dimmed and return to its normal brightness.

4. Environment:

Neovim version: release v0.11.0

LuaJIT version: 2.1.1744318430

OS: MacOS 15.4.1 24E263 arm64

shade.nvim version: 50ea089

ToggleTerm version: 4286b5a

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