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

How alway show the winbar? #151

Open
edblancas opened this issue Sep 26, 2024 · 2 comments
Open

How alway show the winbar? #151

edblancas opened this issue Sep 26, 2024 · 2 comments

Comments

@edblancas
Copy link

How to show always the winbar? Even when there are no items for nvim-navic to show. Just like the demo in the README.

This because the window scrolls when showing nvim-navic and when not.

@davmacario
Copy link

I have the same issue, this is particularly annoying when looking at git diffs side to side or when opening git blame (using Fugitive`) as the lines are misaligned.

I am willing to help on this, I think the simple solution would be to always display the winbar (even if navic does not provide any output)

@scmx
Copy link

scmx commented Dec 12, 2024

Setting winbar default to one space works: :set winbar=\ or :lua vim.opt.winbar = " "

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

No branches or pull requests

3 participants