Skip to content
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

bug: two winbar at the same time #464

Closed
3 tasks done
b1nhack opened this issue Jun 1, 2024 · 3 comments · Fixed by #461
Closed
3 tasks done

bug: two winbar at the same time #464

b1nhack opened this issue Jun 1, 2024 · 3 comments · Fixed by #461
Labels
bug Something isn't working

Comments

@b1nhack
Copy link

b1nhack commented Jun 1, 2024

Did you check docs and existing issues?

  • I have read all the trouble.nvim docs
  • I have searched the existing issues of trouble.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.10.0

Operating system/version

macOS 14.5

Describe the bug

Using the default preview options, when the preview content is in the current window, two winbars appear (I'm using lualine to customize the winbar).

Steps To Reproduce

  1. Display something in the winbar.
  2. Preview some content contained in the current window using Trouble.

Expected Behavior

Only one winbar.

Repro

No response

@b1nhack b1nhack added the bug Something isn't working label Jun 1, 2024
@folke
Copy link
Owner

folke commented Jun 1, 2024

When I do :set winbar=foobar, then I don't see the duplicate winbars.
Can you give me the full steps to reproduce?

@folke
Copy link
Owner

folke commented Jun 1, 2024

Is it fixed when you set opts.preview.wo.winbar = ""?
If so, I'll just add that to the defaults

@b1nhack
Copy link
Author

b1nhack commented Jun 1, 2024

Is it fixed when you set opts.preview.wo.winbar = ""? If so, I'll just add that to the defaults

After following the above settings, the issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants