Skip to content

Disable winbar on neovim 0.8.0 and later #387

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amadeus
Copy link

@amadeus amadeus commented Apr 26, 2025

I found a pretty obnoxious bug that can occur when a winbar is setup with the matchup floating windows where it can trigger E36: Not enough room error.

I've attached a video of the error occuring, and while I did try to solve it on the lualine side by conditionally disabling winbar in floating windows, I couldn't ever seem to get it to work. The only fix I found was just to wholesale disable winbar in these floating windows:

CleanShot.2025-04-26.at.13.48.01.mp4

Unclear if this is the preferred way to do it, but I imagine a winbar shouldn't ever be shown in these scenarios regardless, so felt safe? Happy to change it to check for an option though if you'd prefer.

@amadeus
Copy link
Author

amadeus commented Apr 26, 2025

Also a separate issue I found, that seemed unrelated to this issue or this fix, is the popup can appear broken in certain scenarios when you have the same buffer in 2 splits, see this screenshot:

CleanShot 2025-04-26 at 13 52 38

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

Successfully merging this pull request may close these issues.

1 participant